<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="language" content="en" />
        <link href="./assets/ffd55088/css/bootstrap.css" rel="stylesheet">
<link href="./assets/5cf9384a/solarized_light.css" rel="stylesheet">
<link href="./assets/6c54116e/style.css" rel="stylesheet">
<script src="./assets/a44cef0f/jquery.js"></script>
<script src="./assets/ffd55088/js/bootstrap.js"></script>
<script src="./assets/8ac4e28a/jssearch.js"></script>    <title>Request, yii\web\Request - Yii Framework 2.0 API Documentation</title>
</head>
<body>

<div class="wrap">
    <nav id="w5369" class="navbar-inverse navbar-fixed-top navbar" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w5369-collapse"><span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span></button><a class="navbar-brand" href="./index.html">Yii Framework 2.0 API Documentation</a></div><div id="w5369-collapse" class="collapse navbar-collapse"><ul id="w5370" class="navbar-nav nav"><li><a href="./index.html">Class reference</a></li>
<li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown">Extensions <b class="caret"></b></a><ul id="w5371" class="dropdown-menu"><li><a href="./ext-apidoc-index.html" tabindex="-1">apidoc</a></li>
<li><a href="./ext-authclient-index.html" tabindex="-1">authclient</a></li>
<li><a href="./ext-bootstrap-index.html" tabindex="-1">bootstrap</a></li>
<li><a href="./ext-codeception-index.html" tabindex="-1">codeception</a></li>
<li><a href="./ext-debug-index.html" tabindex="-1">debug</a></li>
<li><a href="./ext-elasticsearch-index.html" tabindex="-1">elasticsearch</a></li>
<li><a href="./ext-faker-index.html" tabindex="-1">faker</a></li>
<li><a href="./ext-gii-index.html" tabindex="-1">gii</a></li>
<li><a href="./ext-imagine-index.html" tabindex="-1">imagine</a></li>
<li><a href="./ext-jui-index.html" tabindex="-1">jui</a></li>
<li><a href="./ext-mongodb-index.html" tabindex="-1">mongodb</a></li>
<li><a href="./ext-redis-index.html" tabindex="-1">redis</a></li>
<li><a href="./ext-smarty-index.html" tabindex="-1">smarty</a></li>
<li><a href="./ext-sphinx-index.html" tabindex="-1">sphinx</a></li>
<li><a href="./ext-swiftmailer-index.html" tabindex="-1">swiftmailer</a></li>
<li><a href="./ext-twig-index.html" tabindex="-1">twig</a></li></ul></li>
<li><a href="./guide-README.html">Guide</a></li></ul><div class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input id="searchbox" type="text" class="form-control" placeholder="Search">
  </div>
</div>
</div></nav>
    <div id="search-resultbox" style="display: none;" class="modal-content">
        <ul id="search-results">
        </ul>
    </div>

    
<div class="row">
    <div class="col-md-3">
                <div id="navigation" class="list-group"><a class="list-group-item" href="#navigation-5338" data-toggle="collapse" data-parent="#navigation">Not namespaced classes <b class="caret"></b></a><div id="navigation-5338" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii.html">Yii</a></div>
<a class="list-group-item" href="#navigation-5339" data-toggle="collapse" data-parent="#navigation">yii <b class="caret"></b></a><div id="navigation-5339" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-baseyii.html">BaseYii</a></div>
<a class="list-group-item" href="#navigation-5340" data-toggle="collapse" data-parent="#navigation">yii\base <b class="caret"></b></a><div id="navigation-5340" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-base-action.html">Action</a>
<a class="list-group-item" href="./yii-base-actionevent.html">ActionEvent</a>
<a class="list-group-item" href="./yii-base-actionfilter.html">ActionFilter</a>
<a class="list-group-item" href="./yii-base-application.html">Application</a>
<a class="list-group-item" href="./yii-base-arrayaccesstrait.html">ArrayAccessTrait</a>
<a class="list-group-item" href="./yii-base-arrayable.html">Arrayable</a>
<a class="list-group-item" href="./yii-base-arrayabletrait.html">ArrayableTrait</a>
<a class="list-group-item" href="./yii-base-behavior.html">Behavior</a>
<a class="list-group-item" href="./yii-base-bootstrapinterface.html">BootstrapInterface</a>
<a class="list-group-item" href="./yii-base-component.html">Component</a>
<a class="list-group-item" href="./yii-base-configurable.html">Configurable</a>
<a class="list-group-item" href="./yii-base-controller.html">Controller</a>
<a class="list-group-item" href="./yii-base-dynamicmodel.html">DynamicModel</a>
<a class="list-group-item" href="./yii-base-errorexception.html">ErrorException</a>
<a class="list-group-item" href="./yii-base-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-base-event.html">Event</a>
<a class="list-group-item" href="./yii-base-exception.html">Exception</a>
<a class="list-group-item" href="./yii-base-exitexception.html">ExitException</a>
<a class="list-group-item" href="./yii-base-inlineaction.html">InlineAction</a>
<a class="list-group-item" href="./yii-base-invalidcallexception.html">InvalidCallException</a>
<a class="list-group-item" href="./yii-base-invalidconfigexception.html">InvalidConfigException</a>
<a class="list-group-item" href="./yii-base-invalidparamexception.html">InvalidParamException</a>
<a class="list-group-item" href="./yii-base-invalidrouteexception.html">InvalidRouteException</a>
<a class="list-group-item" href="./yii-base-invalidvalueexception.html">InvalidValueException</a>
<a class="list-group-item" href="./yii-base-model.html">Model</a>
<a class="list-group-item" href="./yii-base-modelevent.html">ModelEvent</a>
<a class="list-group-item" href="./yii-base-module.html">Module</a>
<a class="list-group-item" href="./yii-base-notsupportedexception.html">NotSupportedException</a>
<a class="list-group-item" href="./yii-base-object.html">Object</a>
<a class="list-group-item" href="./yii-base-request.html">Request</a>
<a class="list-group-item" href="./yii-base-response.html">Response</a>
<a class="list-group-item" href="./yii-base-security.html">Security</a>
<a class="list-group-item" href="./yii-base-theme.html">Theme</a>
<a class="list-group-item" href="./yii-base-unknownclassexception.html">UnknownClassException</a>
<a class="list-group-item" href="./yii-base-unknownmethodexception.html">UnknownMethodException</a>
<a class="list-group-item" href="./yii-base-unknownpropertyexception.html">UnknownPropertyException</a>
<a class="list-group-item" href="./yii-base-userexception.html">UserException</a>
<a class="list-group-item" href="./yii-base-view.html">View</a>
<a class="list-group-item" href="./yii-base-viewcontextinterface.html">ViewContextInterface</a>
<a class="list-group-item" href="./yii-base-viewevent.html">ViewEvent</a>
<a class="list-group-item" href="./yii-base-viewrenderer.html">ViewRenderer</a>
<a class="list-group-item" href="./yii-base-widget.html">Widget</a></div>
<a class="list-group-item" href="#navigation-5341" data-toggle="collapse" data-parent="#navigation">yii\behaviors <b class="caret"></b></a><div id="navigation-5341" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-behaviors-attributebehavior.html">AttributeBehavior</a>
<a class="list-group-item" href="./yii-behaviors-blameablebehavior.html">BlameableBehavior</a>
<a class="list-group-item" href="./yii-behaviors-sluggablebehavior.html">SluggableBehavior</a>
<a class="list-group-item" href="./yii-behaviors-timestampbehavior.html">TimestampBehavior</a></div>
<a class="list-group-item" href="#navigation-5342" data-toggle="collapse" data-parent="#navigation">yii\caching <b class="caret"></b></a><div id="navigation-5342" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-caching-apccache.html">ApcCache</a>
<a class="list-group-item" href="./yii-caching-arraycache.html">ArrayCache</a>
<a class="list-group-item" href="./yii-caching-cache.html">Cache</a>
<a class="list-group-item" href="./yii-caching-chaineddependency.html">ChainedDependency</a>
<a class="list-group-item" href="./yii-caching-dbcache.html">DbCache</a>
<a class="list-group-item" href="./yii-caching-dbdependency.html">DbDependency</a>
<a class="list-group-item" href="./yii-caching-dependency.html">Dependency</a>
<a class="list-group-item" href="./yii-caching-dummycache.html">DummyCache</a>
<a class="list-group-item" href="./yii-caching-expressiondependency.html">ExpressionDependency</a>
<a class="list-group-item" href="./yii-caching-filecache.html">FileCache</a>
<a class="list-group-item" href="./yii-caching-filedependency.html">FileDependency</a>
<a class="list-group-item" href="./yii-caching-memcache.html">MemCache</a>
<a class="list-group-item" href="./yii-caching-memcacheserver.html">MemCacheServer</a>
<a class="list-group-item" href="./yii-caching-tagdependency.html">TagDependency</a>
<a class="list-group-item" href="./yii-caching-wincache.html">WinCache</a>
<a class="list-group-item" href="./yii-caching-xcache.html">XCache</a>
<a class="list-group-item" href="./yii-caching-zenddatacache.html">ZendDataCache</a></div>
<a class="list-group-item" href="#navigation-5343" data-toggle="collapse" data-parent="#navigation">yii\captcha <b class="caret"></b></a><div id="navigation-5343" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-captcha-captcha.html">Captcha</a>
<a class="list-group-item" href="./yii-captcha-captchaaction.html">CaptchaAction</a>
<a class="list-group-item" href="./yii-captcha-captchaasset.html">CaptchaAsset</a>
<a class="list-group-item" href="./yii-captcha-captchavalidator.html">CaptchaValidator</a></div>
<a class="list-group-item" href="#navigation-5344" data-toggle="collapse" data-parent="#navigation">yii\console <b class="caret"></b></a><div id="navigation-5344" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-console-application.html">Application</a>
<a class="list-group-item" href="./yii-console-controller.html">Controller</a>
<a class="list-group-item" href="./yii-console-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-console-exception.html">Exception</a>
<a class="list-group-item" href="./yii-console-markdown.html">Markdown</a>
<a class="list-group-item" href="./yii-console-request.html">Request</a>
<a class="list-group-item" href="./yii-console-response.html">Response</a></div>
<a class="list-group-item" href="#navigation-5345" data-toggle="collapse" data-parent="#navigation">yii\console\controllers <b class="caret"></b></a><div id="navigation-5345" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-console-controllers-assetcontroller.html">AssetController</a>
<a class="list-group-item" href="./yii-console-controllers-basemigratecontroller.html">BaseMigrateController</a>
<a class="list-group-item" href="./yii-console-controllers-cachecontroller.html">CacheController</a>
<a class="list-group-item" href="./yii-console-controllers-fixturecontroller.html">FixtureController</a>
<a class="list-group-item" href="./yii-console-controllers-helpcontroller.html">HelpController</a>
<a class="list-group-item" href="./yii-console-controllers-messagecontroller.html">MessageController</a>
<a class="list-group-item" href="./yii-console-controllers-migratecontroller.html">MigrateController</a>
<a class="list-group-item" href="./yii-console-controllers-servecontroller.html">ServeController</a></div>
<a class="list-group-item" href="#navigation-5346" data-toggle="collapse" data-parent="#navigation">yii\data <b class="caret"></b></a><div id="navigation-5346" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-data-activedataprovider.html">ActiveDataProvider</a>
<a class="list-group-item" href="./yii-data-arraydataprovider.html">ArrayDataProvider</a>
<a class="list-group-item" href="./yii-data-basedataprovider.html">BaseDataProvider</a>
<a class="list-group-item" href="./yii-data-dataproviderinterface.html">DataProviderInterface</a>
<a class="list-group-item" href="./yii-data-pagination.html">Pagination</a>
<a class="list-group-item" href="./yii-data-sort.html">Sort</a>
<a class="list-group-item" href="./yii-data-sqldataprovider.html">SqlDataProvider</a></div>
<a class="list-group-item" href="#navigation-5347" data-toggle="collapse" data-parent="#navigation">yii\db <b class="caret"></b></a><div id="navigation-5347" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-activequery.html">ActiveQuery</a>
<a class="list-group-item" href="./yii-db-activequeryinterface.html">ActiveQueryInterface</a>
<a class="list-group-item" href="./yii-db-activequerytrait.html">ActiveQueryTrait</a>
<a class="list-group-item" href="./yii-db-activerecord.html">ActiveRecord</a>
<a class="list-group-item" href="./yii-db-activerecordinterface.html">ActiveRecordInterface</a>
<a class="list-group-item" href="./yii-db-activerelationtrait.html">ActiveRelationTrait</a>
<a class="list-group-item" href="./yii-db-aftersaveevent.html">AfterSaveEvent</a>
<a class="list-group-item" href="./yii-db-baseactiverecord.html">BaseActiveRecord</a>
<a class="list-group-item" href="./yii-db-batchqueryresult.html">BatchQueryResult</a>
<a class="list-group-item" href="./yii-db-columnschema.html">ColumnSchema</a>
<a class="list-group-item" href="./yii-db-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-command.html">Command</a>
<a class="list-group-item" href="./yii-db-connection.html">Connection</a>
<a class="list-group-item" href="./yii-db-datareader.html">DataReader</a>
<a class="list-group-item" href="./yii-db-exception.html">Exception</a>
<a class="list-group-item" href="./yii-db-expression.html">Expression</a>
<a class="list-group-item" href="./yii-db-integrityexception.html">IntegrityException</a>
<a class="list-group-item" href="./yii-db-migration.html">Migration</a>
<a class="list-group-item" href="./yii-db-migrationinterface.html">MigrationInterface</a>
<a class="list-group-item" href="./yii-db-query.html">Query</a>
<a class="list-group-item" href="./yii-db-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-queryinterface.html">QueryInterface</a>
<a class="list-group-item" href="./yii-db-querytrait.html">QueryTrait</a>
<a class="list-group-item" href="./yii-db-schema.html">Schema</a>
<a class="list-group-item" href="./yii-db-schemabuildertrait.html">SchemaBuilderTrait</a>
<a class="list-group-item" href="./yii-db-staleobjectexception.html">StaleObjectException</a>
<a class="list-group-item" href="./yii-db-tableschema.html">TableSchema</a>
<a class="list-group-item" href="./yii-db-transaction.html">Transaction</a></div>
<a class="list-group-item" href="#navigation-5348" data-toggle="collapse" data-parent="#navigation">yii\db\cubrid <b class="caret"></b></a><div id="navigation-5348" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-cubrid-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-cubrid-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-cubrid-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-5349" data-toggle="collapse" data-parent="#navigation">yii\db\mssql <b class="caret"></b></a><div id="navigation-5349" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-mssql-pdo.html">PDO</a>
<a class="list-group-item" href="./yii-db-mssql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-mssql-schema.html">Schema</a>
<a class="list-group-item" href="./yii-db-mssql-sqlsrvpdo.html">SqlsrvPDO</a>
<a class="list-group-item" href="./yii-db-mssql-tableschema.html">TableSchema</a></div>
<a class="list-group-item" href="#navigation-5350" data-toggle="collapse" data-parent="#navigation">yii\db\mysql <b class="caret"></b></a><div id="navigation-5350" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-mysql-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-mysql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-mysql-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-5351" data-toggle="collapse" data-parent="#navigation">yii\db\oci <b class="caret"></b></a><div id="navigation-5351" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-oci-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-oci-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-oci-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-5352" data-toggle="collapse" data-parent="#navigation">yii\db\pgsql <b class="caret"></b></a><div id="navigation-5352" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-pgsql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-pgsql-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-5353" data-toggle="collapse" data-parent="#navigation">yii\db\sqlite <b class="caret"></b></a><div id="navigation-5353" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-sqlite-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-sqlite-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-sqlite-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-5354" data-toggle="collapse" data-parent="#navigation">yii\di <b class="caret"></b></a><div id="navigation-5354" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-di-container.html">Container</a>
<a class="list-group-item" href="./yii-di-instance.html">Instance</a>
<a class="list-group-item" href="./yii-di-notinstantiableexception.html">NotInstantiableException</a>
<a class="list-group-item" href="./yii-di-servicelocator.html">ServiceLocator</a></div>
<a class="list-group-item" href="#navigation-5355" data-toggle="collapse" data-parent="#navigation">yii\filters <b class="caret"></b></a><div id="navigation-5355" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-filters-accesscontrol.html">AccessControl</a>
<a class="list-group-item" href="./yii-filters-accessrule.html">AccessRule</a>
<a class="list-group-item" href="./yii-filters-contentnegotiator.html">ContentNegotiator</a>
<a class="list-group-item" href="./yii-filters-cors.html">Cors</a>
<a class="list-group-item" href="./yii-filters-httpcache.html">HttpCache</a>
<a class="list-group-item" href="./yii-filters-pagecache.html">PageCache</a>
<a class="list-group-item" href="./yii-filters-ratelimitinterface.html">RateLimitInterface</a>
<a class="list-group-item" href="./yii-filters-ratelimiter.html">RateLimiter</a>
<a class="list-group-item" href="./yii-filters-verbfilter.html">VerbFilter</a></div>
<a class="list-group-item" href="#navigation-5356" data-toggle="collapse" data-parent="#navigation">yii\filters\auth <b class="caret"></b></a><div id="navigation-5356" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-filters-auth-authinterface.html">AuthInterface</a>
<a class="list-group-item" href="./yii-filters-auth-authmethod.html">AuthMethod</a>
<a class="list-group-item" href="./yii-filters-auth-compositeauth.html">CompositeAuth</a>
<a class="list-group-item" href="./yii-filters-auth-httpbasicauth.html">HttpBasicAuth</a>
<a class="list-group-item" href="./yii-filters-auth-httpbearerauth.html">HttpBearerAuth</a>
<a class="list-group-item" href="./yii-filters-auth-queryparamauth.html">QueryParamAuth</a></div>
<a class="list-group-item" href="#navigation-5357" data-toggle="collapse" data-parent="#navigation">yii\grid <b class="caret"></b></a><div id="navigation-5357" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-grid-actioncolumn.html">ActionColumn</a>
<a class="list-group-item" href="./yii-grid-checkboxcolumn.html">CheckboxColumn</a>
<a class="list-group-item" href="./yii-grid-column.html">Column</a>
<a class="list-group-item" href="./yii-grid-datacolumn.html">DataColumn</a>
<a class="list-group-item" href="./yii-grid-gridview.html">GridView</a>
<a class="list-group-item" href="./yii-grid-gridviewasset.html">GridViewAsset</a>
<a class="list-group-item" href="./yii-grid-serialcolumn.html">SerialColumn</a></div>
<a class="list-group-item" href="#navigation-5358" data-toggle="collapse" data-parent="#navigation">yii\helpers <b class="caret"></b></a><div id="navigation-5358" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-helpers-arrayhelper.html">ArrayHelper</a>
<a class="list-group-item" href="./yii-helpers-basearrayhelper.html">BaseArrayHelper</a>
<a class="list-group-item" href="./yii-helpers-baseconsole.html">BaseConsole</a>
<a class="list-group-item" href="./yii-helpers-basefilehelper.html">BaseFileHelper</a>
<a class="list-group-item" href="./yii-helpers-baseformatconverter.html">BaseFormatConverter</a>
<a class="list-group-item" href="./yii-helpers-basehtml.html">BaseHtml</a>
<a class="list-group-item" href="./yii-helpers-basehtmlpurifier.html">BaseHtmlPurifier</a>
<a class="list-group-item" href="./yii-helpers-baseinflector.html">BaseInflector</a>
<a class="list-group-item" href="./yii-helpers-basejson.html">BaseJson</a>
<a class="list-group-item" href="./yii-helpers-basemarkdown.html">BaseMarkdown</a>
<a class="list-group-item" href="./yii-helpers-basestringhelper.html">BaseStringHelper</a>
<a class="list-group-item" href="./yii-helpers-baseurl.html">BaseUrl</a>
<a class="list-group-item" href="./yii-helpers-basevardumper.html">BaseVarDumper</a>
<a class="list-group-item" href="./yii-helpers-console.html">Console</a>
<a class="list-group-item" href="./yii-helpers-filehelper.html">FileHelper</a>
<a class="list-group-item" href="./yii-helpers-formatconverter.html">FormatConverter</a>
<a class="list-group-item" href="./yii-helpers-html.html">Html</a>
<a class="list-group-item" href="./yii-helpers-htmlpurifier.html">HtmlPurifier</a>
<a class="list-group-item" href="./yii-helpers-inflector.html">Inflector</a>
<a class="list-group-item" href="./yii-helpers-json.html">Json</a>
<a class="list-group-item" href="./yii-helpers-markdown.html">Markdown</a>
<a class="list-group-item" href="./yii-helpers-stringhelper.html">StringHelper</a>
<a class="list-group-item" href="./yii-helpers-url.html">Url</a>
<a class="list-group-item" href="./yii-helpers-vardumper.html">VarDumper</a></div>
<a class="list-group-item" href="#navigation-5359" data-toggle="collapse" data-parent="#navigation">yii\i18n <b class="caret"></b></a><div id="navigation-5359" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-i18n-dbmessagesource.html">DbMessageSource</a>
<a class="list-group-item" href="./yii-i18n-formatter.html">Formatter</a>
<a class="list-group-item" href="./yii-i18n-gettextfile.html">GettextFile</a>
<a class="list-group-item" href="./yii-i18n-gettextmessagesource.html">GettextMessageSource</a>
<a class="list-group-item" href="./yii-i18n-gettextmofile.html">GettextMoFile</a>
<a class="list-group-item" href="./yii-i18n-gettextpofile.html">GettextPoFile</a>
<a class="list-group-item" href="./yii-i18n-i18n.html">I18N</a>
<a class="list-group-item" href="./yii-i18n-messageformatter.html">MessageFormatter</a>
<a class="list-group-item" href="./yii-i18n-messagesource.html">MessageSource</a>
<a class="list-group-item" href="./yii-i18n-missingtranslationevent.html">MissingTranslationEvent</a>
<a class="list-group-item" href="./yii-i18n-phpmessagesource.html">PhpMessageSource</a></div>
<a class="list-group-item" href="#navigation-5360" data-toggle="collapse" data-parent="#navigation">yii\log <b class="caret"></b></a><div id="navigation-5360" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-log-dbtarget.html">DbTarget</a>
<a class="list-group-item" href="./yii-log-dispatcher.html">Dispatcher</a>
<a class="list-group-item" href="./yii-log-emailtarget.html">EmailTarget</a>
<a class="list-group-item" href="./yii-log-filetarget.html">FileTarget</a>
<a class="list-group-item" href="./yii-log-logger.html">Logger</a>
<a class="list-group-item" href="./yii-log-syslogtarget.html">SyslogTarget</a>
<a class="list-group-item" href="./yii-log-target.html">Target</a></div>
<a class="list-group-item" href="#navigation-5361" data-toggle="collapse" data-parent="#navigation">yii\mail <b class="caret"></b></a><div id="navigation-5361" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-mail-basemailer.html">BaseMailer</a>
<a class="list-group-item" href="./yii-mail-basemessage.html">BaseMessage</a>
<a class="list-group-item" href="./yii-mail-mailevent.html">MailEvent</a>
<a class="list-group-item" href="./yii-mail-mailerinterface.html">MailerInterface</a>
<a class="list-group-item" href="./yii-mail-messageinterface.html">MessageInterface</a></div>
<a class="list-group-item" href="#navigation-5362" data-toggle="collapse" data-parent="#navigation">yii\mutex <b class="caret"></b></a><div id="navigation-5362" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-mutex-dbmutex.html">DbMutex</a>
<a class="list-group-item" href="./yii-mutex-filemutex.html">FileMutex</a>
<a class="list-group-item" href="./yii-mutex-mutex.html">Mutex</a>
<a class="list-group-item" href="./yii-mutex-mysqlmutex.html">MysqlMutex</a>
<a class="list-group-item" href="./yii-mutex-pgsqlmutex.html">PgsqlMutex</a></div>
<a class="list-group-item" href="#navigation-5363" data-toggle="collapse" data-parent="#navigation">yii\rbac <b class="caret"></b></a><div id="navigation-5363" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-rbac-assignment.html">Assignment</a>
<a class="list-group-item" href="./yii-rbac-basemanager.html">BaseManager</a>
<a class="list-group-item" href="./yii-rbac-checkaccessinterface.html">CheckAccessInterface</a>
<a class="list-group-item" href="./yii-rbac-dbmanager.html">DbManager</a>
<a class="list-group-item" href="./yii-rbac-item.html">Item</a>
<a class="list-group-item" href="./yii-rbac-managerinterface.html">ManagerInterface</a>
<a class="list-group-item" href="./yii-rbac-permission.html">Permission</a>
<a class="list-group-item" href="./yii-rbac-phpmanager.html">PhpManager</a>
<a class="list-group-item" href="./yii-rbac-role.html">Role</a>
<a class="list-group-item" href="./yii-rbac-rule.html">Rule</a></div>
<a class="list-group-item" href="#navigation-5364" data-toggle="collapse" data-parent="#navigation">yii\rest <b class="caret"></b></a><div id="navigation-5364" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-rest-action.html">Action</a>
<a class="list-group-item" href="./yii-rest-activecontroller.html">ActiveController</a>
<a class="list-group-item" href="./yii-rest-controller.html">Controller</a>
<a class="list-group-item" href="./yii-rest-createaction.html">CreateAction</a>
<a class="list-group-item" href="./yii-rest-deleteaction.html">DeleteAction</a>
<a class="list-group-item" href="./yii-rest-indexaction.html">IndexAction</a>
<a class="list-group-item" href="./yii-rest-optionsaction.html">OptionsAction</a>
<a class="list-group-item" href="./yii-rest-serializer.html">Serializer</a>
<a class="list-group-item" href="./yii-rest-updateaction.html">UpdateAction</a>
<a class="list-group-item" href="./yii-rest-urlrule.html">UrlRule</a>
<a class="list-group-item" href="./yii-rest-viewaction.html">ViewAction</a></div>
<a class="list-group-item" href="#navigation-5365" data-toggle="collapse" data-parent="#navigation">yii\test <b class="caret"></b></a><div id="navigation-5365" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-test-activefixture.html">ActiveFixture</a>
<a class="list-group-item" href="./yii-test-arrayfixture.html">ArrayFixture</a>
<a class="list-group-item" href="./yii-test-baseactivefixture.html">BaseActiveFixture</a>
<a class="list-group-item" href="./yii-test-dbfixture.html">DbFixture</a>
<a class="list-group-item" href="./yii-test-fixture.html">Fixture</a>
<a class="list-group-item" href="./yii-test-fixturetrait.html">FixtureTrait</a>
<a class="list-group-item" href="./yii-test-initdbfixture.html">InitDbFixture</a></div>
<a class="list-group-item" href="#navigation-5366" data-toggle="collapse" data-parent="#navigation">yii\validators <b class="caret"></b></a><div id="navigation-5366" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-validators-booleanvalidator.html">BooleanValidator</a>
<a class="list-group-item" href="./yii-validators-comparevalidator.html">CompareValidator</a>
<a class="list-group-item" href="./yii-validators-datevalidator.html">DateValidator</a>
<a class="list-group-item" href="./yii-validators-defaultvaluevalidator.html">DefaultValueValidator</a>
<a class="list-group-item" href="./yii-validators-eachvalidator.html">EachValidator</a>
<a class="list-group-item" href="./yii-validators-emailvalidator.html">EmailValidator</a>
<a class="list-group-item" href="./yii-validators-existvalidator.html">ExistValidator</a>
<a class="list-group-item" href="./yii-validators-filevalidator.html">FileValidator</a>
<a class="list-group-item" href="./yii-validators-filtervalidator.html">FilterValidator</a>
<a class="list-group-item" href="./yii-validators-imagevalidator.html">ImageValidator</a>
<a class="list-group-item" href="./yii-validators-inlinevalidator.html">InlineValidator</a>
<a class="list-group-item" href="./yii-validators-ipvalidator.html">IpValidator</a>
<a class="list-group-item" href="./yii-validators-numbervalidator.html">NumberValidator</a>
<a class="list-group-item" href="./yii-validators-punycodeasset.html">PunycodeAsset</a>
<a class="list-group-item" href="./yii-validators-rangevalidator.html">RangeValidator</a>
<a class="list-group-item" href="./yii-validators-regularexpressionvalidator.html">RegularExpressionValidator</a>
<a class="list-group-item" href="./yii-validators-requiredvalidator.html">RequiredValidator</a>
<a class="list-group-item" href="./yii-validators-safevalidator.html">SafeValidator</a>
<a class="list-group-item" href="./yii-validators-stringvalidator.html">StringValidator</a>
<a class="list-group-item" href="./yii-validators-uniquevalidator.html">UniqueValidator</a>
<a class="list-group-item" href="./yii-validators-urlvalidator.html">UrlValidator</a>
<a class="list-group-item" href="./yii-validators-validationasset.html">ValidationAsset</a>
<a class="list-group-item" href="./yii-validators-validator.html">Validator</a></div>
<a class="list-group-item active" href="#navigation-5367" data-toggle="collapse" data-parent="#navigation">yii\web <b class="caret"></b></a><div id="navigation-5367" class="submenu panel-collapse collapse in"><a class="list-group-item" href="./yii-web-application.html">Application</a>
<a class="list-group-item" href="./yii-web-assetbundle.html">AssetBundle</a>
<a class="list-group-item" href="./yii-web-assetconverter.html">AssetConverter</a>
<a class="list-group-item" href="./yii-web-assetconverterinterface.html">AssetConverterInterface</a>
<a class="list-group-item" href="./yii-web-assetmanager.html">AssetManager</a>
<a class="list-group-item" href="./yii-web-badrequesthttpexception.html">BadRequestHttpException</a>
<a class="list-group-item" href="./yii-web-cachesession.html">CacheSession</a>
<a class="list-group-item" href="./yii-web-compositeurlrule.html">CompositeUrlRule</a>
<a class="list-group-item" href="./yii-web-conflicthttpexception.html">ConflictHttpException</a>
<a class="list-group-item" href="./yii-web-controller.html">Controller</a>
<a class="list-group-item" href="./yii-web-cookie.html">Cookie</a>
<a class="list-group-item" href="./yii-web-cookiecollection.html">CookieCollection</a>
<a class="list-group-item" href="./yii-web-dbsession.html">DbSession</a>
<a class="list-group-item" href="./yii-web-erroraction.html">ErrorAction</a>
<a class="list-group-item" href="./yii-web-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-web-forbiddenhttpexception.html">ForbiddenHttpException</a>
<a class="list-group-item" href="./yii-web-gonehttpexception.html">GoneHttpException</a>
<a class="list-group-item" href="./yii-web-groupurlrule.html">GroupUrlRule</a>
<a class="list-group-item" href="./yii-web-headercollection.html">HeaderCollection</a>
<a class="list-group-item" href="./yii-web-htmlresponseformatter.html">HtmlResponseFormatter</a>
<a class="list-group-item" href="./yii-web-httpexception.html">HttpException</a>
<a class="list-group-item" href="./yii-web-identityinterface.html">IdentityInterface</a>
<a class="list-group-item" href="./yii-web-jqueryasset.html">JqueryAsset</a>
<a class="list-group-item" href="./yii-web-jsexpression.html">JsExpression</a>
<a class="list-group-item" href="./yii-web-jsonparser.html">JsonParser</a>
<a class="list-group-item" href="./yii-web-jsonresponseformatter.html">JsonResponseFormatter</a>
<a class="list-group-item" href="./yii-web-link.html">Link</a>
<a class="list-group-item" href="./yii-web-linkable.html">Linkable</a>
<a class="list-group-item" href="./yii-web-methodnotallowedhttpexception.html">MethodNotAllowedHttpException</a>
<a class="list-group-item" href="./yii-web-multifieldsession.html">MultiFieldSession</a>
<a class="list-group-item" href="./yii-web-notacceptablehttpexception.html">NotAcceptableHttpException</a>
<a class="list-group-item" href="./yii-web-notfoundhttpexception.html">NotFoundHttpException</a>
<a class="list-group-item active" href="./yii-web-request.html">Request</a>
<a class="list-group-item" href="./yii-web-requestparserinterface.html">RequestParserInterface</a>
<a class="list-group-item" href="./yii-web-response.html">Response</a>
<a class="list-group-item" href="./yii-web-responseformatterinterface.html">ResponseFormatterInterface</a>
<a class="list-group-item" href="./yii-web-servererrorhttpexception.html">ServerErrorHttpException</a>
<a class="list-group-item" href="./yii-web-session.html">Session</a>
<a class="list-group-item" href="./yii-web-sessioniterator.html">SessionIterator</a>
<a class="list-group-item" href="./yii-web-toomanyrequestshttpexception.html">TooManyRequestsHttpException</a>
<a class="list-group-item" href="./yii-web-unauthorizedhttpexception.html">UnauthorizedHttpException</a>
<a class="list-group-item" href="./yii-web-unprocessableentityhttpexception.html">UnprocessableEntityHttpException</a>
<a class="list-group-item" href="./yii-web-unsupportedmediatypehttpexception.html">UnsupportedMediaTypeHttpException</a>
<a class="list-group-item" href="./yii-web-uploadedfile.html">UploadedFile</a>
<a class="list-group-item" href="./yii-web-urlmanager.html">UrlManager</a>
<a class="list-group-item" href="./yii-web-urlrule.html">UrlRule</a>
<a class="list-group-item" href="./yii-web-urlruleinterface.html">UrlRuleInterface</a>
<a class="list-group-item" href="./yii-web-user.html">User</a>
<a class="list-group-item" href="./yii-web-userevent.html">UserEvent</a>
<a class="list-group-item" href="./yii-web-view.html">View</a>
<a class="list-group-item" href="./yii-web-viewaction.html">ViewAction</a>
<a class="list-group-item" href="./yii-web-xmlresponseformatter.html">XmlResponseFormatter</a>
<a class="list-group-item" href="./yii-web-yiiasset.html">YiiAsset</a></div>
<a class="list-group-item" href="#navigation-5368" data-toggle="collapse" data-parent="#navigation">yii\widgets <b class="caret"></b></a><div id="navigation-5368" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-widgets-activefield.html">ActiveField</a>
<a class="list-group-item" href="./yii-widgets-activeform.html">ActiveForm</a>
<a class="list-group-item" href="./yii-widgets-activeformasset.html">ActiveFormAsset</a>
<a class="list-group-item" href="./yii-widgets-baselistview.html">BaseListView</a>
<a class="list-group-item" href="./yii-widgets-block.html">Block</a>
<a class="list-group-item" href="./yii-widgets-breadcrumbs.html">Breadcrumbs</a>
<a class="list-group-item" href="./yii-widgets-contentdecorator.html">ContentDecorator</a>
<a class="list-group-item" href="./yii-widgets-detailview.html">DetailView</a>
<a class="list-group-item" href="./yii-widgets-fragmentcache.html">FragmentCache</a>
<a class="list-group-item" href="./yii-widgets-inputwidget.html">InputWidget</a>
<a class="list-group-item" href="./yii-widgets-linkpager.html">LinkPager</a>
<a class="list-group-item" href="./yii-widgets-linksorter.html">LinkSorter</a>
<a class="list-group-item" href="./yii-widgets-listview.html">ListView</a>
<a class="list-group-item" href="./yii-widgets-maskedinput.html">MaskedInput</a>
<a class="list-group-item" href="./yii-widgets-maskedinputasset.html">MaskedInputAsset</a>
<a class="list-group-item" href="./yii-widgets-menu.html">Menu</a>
<a class="list-group-item" href="./yii-widgets-pjax.html">Pjax</a>
<a class="list-group-item" href="./yii-widgets-pjaxasset.html">PjaxAsset</a>
<a class="list-group-item" href="./yii-widgets-spaceless.html">Spaceless</a></div></div>    </div>
    <div class="col-md-9 api-content" role="main">
        <h1>Class yii\web\Request</h1>
<div class="top-nav">
    <a href="index.html">All Classes</a>
            | <a href="#properties">Properties</a>
                | <a href="#methods">Methods</a>
                    | <a href="#constants">Constants</a>
    </div>

<table class="summaryTable docClass table table-bordered">
    <colgroup>
        <col class="col-name" />
        <col class="col-value" />
    </colgroup>
            <tr><th>Inheritance</th><td><a href="yii-web-request.html">yii\web\Request</a> &raquo;
<a href="yii-base-request.html">yii\base\Request</a> &raquo;
<a href="yii-base-component.html">yii\base\Component</a> &raquo;
<a href="yii-base-object.html">yii\base\Object</a></td></tr>
                <tr><th>Implements</th><td><a href="yii-base-configurable.html">yii\base\Configurable</a></td></tr>
                                    <tr><th>Available since version</th><td>2.0</td></tr>
                    <tr>
          <th>Source Code</th>
          <td><a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php">https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php</a></td>
        </tr>
    </table>

<div class="class-description">
    <p><strong>The web Request class represents an HTTP request</strong></p>
    <p>It encapsulates the $_SERVER variable and resolves its inconsistency among different Web servers.
Also it provides an interface to retrieve request parameters from $_POST, $_GET, $_COOKIES and REST
parameters sent via other HTTP methods like PUT or DELETE.</p>
<p>Request is configured as an application component in <a href="yii-web-application.html">yii\web\Application</a> by default.
You can access that instance via <code>Yii::$app-&gt;request</code>.</p>

    </div>

<a id="properties"></a>

<div class="summary doc-property">
<h2>Public Properties</h2>

<p><a href="#" class="toggle">Hide inherited properties</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-property" />
    <col class="col-type" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
</tr>
        <tr id="$absoluteUrl">
        <td><a href="yii-web-request.html#$absoluteUrl-detail">$absoluteUrl</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The currently requested absolute URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$acceptableContentTypes">
        <td><a href="yii-web-request.html#$acceptableContentTypes-detail">$acceptableContentTypes</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The content types ordered by the quality score.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$acceptableLanguages">
        <td><a href="yii-web-request.html#$acceptableLanguages-detail">$acceptableLanguages</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The languages ordered by the preference level.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$authPassword">
        <td><a href="yii-web-request.html#$authPassword-detail">$authPassword</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>The password sent via HTTP authentication, null if the password is not given</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$authUser">
        <td><a href="yii-web-request.html#$authUser-detail">$authUser</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>The username sent via HTTP authentication, null if the username is not given</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$baseUrl">
        <td><a href="yii-web-request.html#$baseUrl-detail">$baseUrl</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The relative URL for the application</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="$behaviors">
        <td><a href="yii-base-component.html#$behaviors-detail">$behaviors</a></td>
        <td><a href="yii-base-behavior.html">yii\base\Behavior</a>[]</td>
        <td>List of behaviors attached to this component</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="$bodyParams">
        <td><a href="yii-web-request.html#$bodyParams-detail">$bodyParams</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The request parameters given in the request body.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$contentType">
        <td><a href="yii-web-request.html#$contentType-detail">$contentType</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Request content-type.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$cookieValidationKey">
        <td><a href="yii-web-request.html#$cookieValidationKey-detail">$cookieValidationKey</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>A secret key used for cookie validation.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$cookies">
        <td><a href="yii-web-request.html#$cookies-detail">$cookies</a></td>
        <td><a href="yii-web-cookiecollection.html">yii\web\CookieCollection</a></td>
        <td>The cookie collection.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$csrfCookie">
        <td><a href="yii-web-request.html#$csrfCookie-detail">$csrfCookie</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The configuration for creating the CSRF <a href="yii-web-cookie.html">cookie</a>.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$csrfParam">
        <td><a href="yii-web-request.html#$csrfParam-detail">$csrfParam</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The name of the token used to prevent CSRF.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$csrfToken">
        <td><a href="yii-web-request.html#$csrfToken-detail">$csrfToken</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The token used to perform CSRF validation.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$csrfTokenFromHeader">
        <td><a href="yii-web-request.html#$csrfTokenFromHeader-detail">$csrfTokenFromHeader</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The CSRF token sent via <a href="yii-web-request.html#CSRF_HEADER-detail">CSRF_HEADER</a> by browser.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$eTags">
        <td><a href="yii-web-request.html#$eTags-detail">$eTags</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The entity tags</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$enableCookieValidation">
        <td><a href="yii-web-request.html#$enableCookieValidation-detail">$enableCookieValidation</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether cookies should be validated to ensure they are not tampered.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$enableCsrfCookie">
        <td><a href="yii-web-request.html#$enableCsrfCookie-detail">$enableCsrfCookie</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether to use cookie to persist CSRF token.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$enableCsrfValidation">
        <td><a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether to enable CSRF (Cross-Site Request Forgery) validation.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$headers">
        <td><a href="yii-web-request.html#$headers-detail">$headers</a></td>
        <td><a href="yii-web-headercollection.html">yii\web\HeaderCollection</a></td>
        <td>The header collection</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$hostInfo">
        <td><a href="yii-web-request.html#$hostInfo-detail">$hostInfo</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Schema and hostname part (with port number if needed) of the request URL (e.g. `<a href="http://www">http://www</a>.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isAjax">
        <td><a href="yii-web-request.html#$isAjax-detail">$isAjax</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is an AJAX (XMLHttpRequest) request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="$isConsoleRequest">
        <td><a href="yii-base-request.html#$isConsoleRequest-detail">$isConsoleRequest</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>The value indicating whether the current request is made via console</td>
        <td><a href="yii-base-request.html">yii\base\Request</a></td>
    </tr>
            <tr id="$isDelete">
        <td><a href="yii-web-request.html#$isDelete-detail">$isDelete</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a DELETE request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isFlash">
        <td><a href="yii-web-request.html#$isFlash-detail">$isFlash</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is an Adobe Flash or Adobe Flex request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isGet">
        <td><a href="yii-web-request.html#$isGet-detail">$isGet</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a GET request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isHead">
        <td><a href="yii-web-request.html#$isHead-detail">$isHead</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a HEAD request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isOptions">
        <td><a href="yii-web-request.html#$isOptions-detail">$isOptions</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a OPTIONS request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isPatch">
        <td><a href="yii-web-request.html#$isPatch-detail">$isPatch</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a PATCH request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isPjax">
        <td><a href="yii-web-request.html#$isPjax-detail">$isPjax</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a PJAX request</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isPost">
        <td><a href="yii-web-request.html#$isPost-detail">$isPost</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a POST request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isPut">
        <td><a href="yii-web-request.html#$isPut-detail">$isPut</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>Whether this is a PUT request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$isSecureConnection">
        <td><a href="yii-web-request.html#$isSecureConnection-detail">$isSecureConnection</a></td>
        <td><a href="http://www.php.net/language.types.boolean">boolean</a></td>
        <td>If the request is sent via secure channel (https)</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$method">
        <td><a href="yii-web-request.html#$method-detail">$method</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$methodParam">
        <td><a href="yii-web-request.html#$methodParam-detail">$methodParam</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The name of the POST parameter that is used to indicate if a request is a PUT, PATCH or DELETE
request tunneled through POST.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$parsers">
        <td><a href="yii-web-request.html#$parsers-detail">$parsers</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The parsers for converting the raw HTTP request body into <a href="yii-web-request.html#$bodyParams-detail">$bodyParams</a>.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$pathInfo">
        <td><a href="yii-web-request.html#$pathInfo-detail">$pathInfo</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Part of the request URL that is after the entry script and before the question mark.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$port">
        <td><a href="yii-web-request.html#$port-detail">$port</a></td>
        <td><a href="http://www.php.net/language.types.integer">integer</a></td>
        <td>Port number for insecure requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$preferredLanguage">
        <td><a href="yii-web-request.html#$preferredLanguage-detail">$preferredLanguage</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The language that the application should use.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$queryParams">
        <td><a href="yii-web-request.html#$queryParams-detail">$queryParams</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The request GET parameter values.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$queryString">
        <td><a href="yii-web-request.html#$queryString-detail">$queryString</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Part of the request URL that is after the question mark</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$rawBody">
        <td><a href="yii-web-request.html#$rawBody-detail">$rawBody</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The request body</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$referrer">
        <td><a href="yii-web-request.html#$referrer-detail">$referrer</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>URL referrer, null if not available</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$scriptFile">
        <td><a href="yii-web-request.html#$scriptFile-detail">$scriptFile</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The entry script file path</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$scriptUrl">
        <td><a href="yii-web-request.html#$scriptUrl-detail">$scriptUrl</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The relative URL of the entry script.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$securePort">
        <td><a href="yii-web-request.html#$securePort-detail">$securePort</a></td>
        <td><a href="http://www.php.net/language.types.integer">integer</a></td>
        <td>Port number for secure requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$serverName">
        <td><a href="yii-web-request.html#$serverName-detail">$serverName</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Server name, null if not available</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$serverPort">
        <td><a href="yii-web-request.html#$serverPort-detail">$serverPort</a></td>
        <td><a href="http://www.php.net/language.types.integer">integer</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>Server port number, null if not available</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$url">
        <td><a href="yii-web-request.html#$url-detail">$url</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The currently requested relative URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$userAgent">
        <td><a href="yii-web-request.html#$userAgent-detail">$userAgent</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>User agent, null if not available</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$userHost">
        <td><a href="yii-web-request.html#$userHost-detail">$userHost</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>User host name, null if not available</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="$userIP">
        <td><a href="yii-web-request.html#$userIP-detail">$userIP</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
        <td>User IP address, null if not available</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
    </table>
</div>

<a id="methods"></a>

<div class="summary doc-method">
<h2>Public Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
        <tr class="inherited" id="__call()">
        <td><a href="yii-base-object.html#__call()-detail">__call()</a></td>
        <td>Calls the named method which is not a class method.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__clone()">
        <td><a href="yii-base-component.html#__clone()-detail">__clone()</a></td>
        <td>This method is called after the object is created by cloning an existing one.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="__construct()">
        <td><a href="yii-base-object.html#__construct()-detail">__construct()</a></td>
        <td>Constructor.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__get()">
        <td><a href="yii-base-object.html#__get()-detail">__get()</a></td>
        <td>Returns the value of an object property.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__isset()">
        <td><a href="yii-base-object.html#__isset()-detail">__isset()</a></td>
        <td>Checks if a property is set, i.e. defined and not null.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__set()">
        <td><a href="yii-base-object.html#__set()-detail">__set()</a></td>
        <td>Sets value of an object property.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__unset()">
        <td><a href="yii-base-object.html#__unset()-detail">__unset()</a></td>
        <td>Sets an object property to null.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="attachBehavior()">
        <td><a href="yii-base-component.html#attachBehavior()-detail">attachBehavior()</a></td>
        <td>Attaches a behavior to this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="attachBehaviors()">
        <td><a href="yii-base-component.html#attachBehaviors()-detail">attachBehaviors()</a></td>
        <td>Attaches a list of behaviors to the component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="behaviors()">
        <td><a href="yii-base-component.html#behaviors()-detail">behaviors()</a></td>
        <td>Returns a list of behaviors that this component should behave as.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="canGetProperty()">
        <td><a href="yii-base-object.html#canGetProperty()-detail">canGetProperty()</a></td>
        <td>Returns a value indicating whether a property can be read.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="canSetProperty()">
        <td><a href="yii-base-object.html#canSetProperty()-detail">canSetProperty()</a></td>
        <td>Returns a value indicating whether a property can be set.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="className()">
        <td><a href="yii-base-object.html#className()-detail">className()</a></td>
        <td>Returns the fully qualified name of this class.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
                <tr class="inherited" id="detachBehavior()">
        <td><a href="yii-base-component.html#detachBehavior()-detail">detachBehavior()</a></td>
        <td>Detaches a behavior from the component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="detachBehaviors()">
        <td><a href="yii-base-component.html#detachBehaviors()-detail">detachBehaviors()</a></td>
        <td>Detaches all behaviors from the component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="ensureBehaviors()">
        <td><a href="yii-base-component.html#ensureBehaviors()-detail">ensureBehaviors()</a></td>
        <td>Makes sure that the behaviors declared in <a href="yii-base-component.html#behaviors()-detail">behaviors()</a> are attached to this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
                <tr id="get()">
        <td><a href="yii-web-request.html#get()-detail">get()</a></td>
        <td>Returns GET parameter with a given name. If name isn't specified, returns an array of all GET parameters.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getAbsoluteUrl()">
        <td><a href="yii-web-request.html#getAbsoluteUrl()-detail">getAbsoluteUrl()</a></td>
        <td>Returns the currently requested absolute URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getAcceptableContentTypes()">
        <td><a href="yii-web-request.html#getAcceptableContentTypes()-detail">getAcceptableContentTypes()</a></td>
        <td>Returns the content types acceptable by the end user.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getAcceptableLanguages()">
        <td><a href="yii-web-request.html#getAcceptableLanguages()-detail">getAcceptableLanguages()</a></td>
        <td>Returns the languages acceptable by the end user.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getAuthPassword()">
        <td><a href="yii-web-request.html#getAuthPassword()-detail">getAuthPassword()</a></td>
        <td></td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getAuthUser()">
        <td><a href="yii-web-request.html#getAuthUser()-detail">getAuthUser()</a></td>
        <td></td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getBaseUrl()">
        <td><a href="yii-web-request.html#getBaseUrl()-detail">getBaseUrl()</a></td>
        <td>Returns the relative URL for the application.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="getBehavior()">
        <td><a href="yii-base-component.html#getBehavior()-detail">getBehavior()</a></td>
        <td>Returns the named behavior object.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="getBehaviors()">
        <td><a href="yii-base-component.html#getBehaviors()-detail">getBehaviors()</a></td>
        <td>Returns all behaviors attached to this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="getBodyParam()">
        <td><a href="yii-web-request.html#getBodyParam()-detail">getBodyParam()</a></td>
        <td>Returns the named request body parameter value.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getBodyParams()">
        <td><a href="yii-web-request.html#getBodyParams()-detail">getBodyParams()</a></td>
        <td>Returns the request parameters given in the request body.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getContentType()">
        <td><a href="yii-web-request.html#getContentType()-detail">getContentType()</a></td>
        <td>Returns request content-type
The Content-Type header field indicates the MIME type of the data
contained in <a href="yii-web-request.html#getRawBody()-detail">getRawBody()</a> or, in the case of the HEAD method, the
media type that would have been sent had the request been a GET.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getCookies()">
        <td><a href="yii-web-request.html#getCookies()-detail">getCookies()</a></td>
        <td>Returns the cookie collection.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getCsrfToken()">
        <td><a href="yii-web-request.html#getCsrfToken()-detail">getCsrfToken()</a></td>
        <td>Returns the token used to perform CSRF validation.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getCsrfTokenFromHeader()">
        <td><a href="yii-web-request.html#getCsrfTokenFromHeader()-detail">getCsrfTokenFromHeader()</a></td>
        <td></td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getETags()">
        <td><a href="yii-web-request.html#getETags()-detail">getETags()</a></td>
        <td>Gets the Etags.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getHeaders()">
        <td><a href="yii-web-request.html#getHeaders()-detail">getHeaders()</a></td>
        <td>Returns the header collection.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getHostInfo()">
        <td><a href="yii-web-request.html#getHostInfo()-detail">getHostInfo()</a></td>
        <td>Returns the schema and host part of the current request URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsAjax()">
        <td><a href="yii-web-request.html#getIsAjax()-detail">getIsAjax()</a></td>
        <td>Returns whether this is an AJAX (XMLHttpRequest) request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="getIsConsoleRequest()">
        <td><a href="yii-base-request.html#getIsConsoleRequest()-detail">getIsConsoleRequest()</a></td>
        <td>Returns a value indicating whether the current request is made via command line</td>
        <td><a href="yii-base-request.html">yii\base\Request</a></td>
    </tr>
            <tr id="getIsDelete()">
        <td><a href="yii-web-request.html#getIsDelete()-detail">getIsDelete()</a></td>
        <td>Returns whether this is a DELETE request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsFlash()">
        <td><a href="yii-web-request.html#getIsFlash()-detail">getIsFlash()</a></td>
        <td>Returns whether this is an Adobe Flash or Flex request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsGet()">
        <td><a href="yii-web-request.html#getIsGet()-detail">getIsGet()</a></td>
        <td>Returns whether this is a GET request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsHead()">
        <td><a href="yii-web-request.html#getIsHead()-detail">getIsHead()</a></td>
        <td>Returns whether this is a HEAD request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsOptions()">
        <td><a href="yii-web-request.html#getIsOptions()-detail">getIsOptions()</a></td>
        <td>Returns whether this is an OPTIONS request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsPatch()">
        <td><a href="yii-web-request.html#getIsPatch()-detail">getIsPatch()</a></td>
        <td>Returns whether this is a PATCH request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsPjax()">
        <td><a href="yii-web-request.html#getIsPjax()-detail">getIsPjax()</a></td>
        <td>Returns whether this is a PJAX request</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsPost()">
        <td><a href="yii-web-request.html#getIsPost()-detail">getIsPost()</a></td>
        <td>Returns whether this is a POST request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsPut()">
        <td><a href="yii-web-request.html#getIsPut()-detail">getIsPut()</a></td>
        <td>Returns whether this is a PUT request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getIsSecureConnection()">
        <td><a href="yii-web-request.html#getIsSecureConnection()-detail">getIsSecureConnection()</a></td>
        <td>Return if the request is sent via secure channel (https).</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getMethod()">
        <td><a href="yii-web-request.html#getMethod()-detail">getMethod()</a></td>
        <td>Returns the method of the current request (e.g. GET, POST, HEAD, PUT, PATCH, DELETE).</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getPathInfo()">
        <td><a href="yii-web-request.html#getPathInfo()-detail">getPathInfo()</a></td>
        <td>Returns the path info of the currently requested URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getPort()">
        <td><a href="yii-web-request.html#getPort()-detail">getPort()</a></td>
        <td>Returns the port to use for insecure requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getPreferredLanguage()">
        <td><a href="yii-web-request.html#getPreferredLanguage()-detail">getPreferredLanguage()</a></td>
        <td>Returns the user-preferred language that should be used by this application.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getQueryParam()">
        <td><a href="yii-web-request.html#getQueryParam()-detail">getQueryParam()</a></td>
        <td>Returns the named GET parameter value.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getQueryParams()">
        <td><a href="yii-web-request.html#getQueryParams()-detail">getQueryParams()</a></td>
        <td>Returns the request parameters given in the <a href="yii-web-request.html#$queryString-detail">$queryString</a>.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getQueryString()">
        <td><a href="yii-web-request.html#getQueryString()-detail">getQueryString()</a></td>
        <td>Returns part of the request URL that is after the question mark.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getRawBody()">
        <td><a href="yii-web-request.html#getRawBody()-detail">getRawBody()</a></td>
        <td>Returns the raw HTTP request body.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getReferrer()">
        <td><a href="yii-web-request.html#getReferrer()-detail">getReferrer()</a></td>
        <td>Returns the URL referrer.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getScriptFile()">
        <td><a href="yii-web-request.html#getScriptFile()-detail">getScriptFile()</a></td>
        <td>Returns the entry script file path.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getScriptUrl()">
        <td><a href="yii-web-request.html#getScriptUrl()-detail">getScriptUrl()</a></td>
        <td>Returns the relative URL of the entry script.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getSecurePort()">
        <td><a href="yii-web-request.html#getSecurePort()-detail">getSecurePort()</a></td>
        <td>Returns the port to use for secure requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getServerName()">
        <td><a href="yii-web-request.html#getServerName()-detail">getServerName()</a></td>
        <td>Returns the server name.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getServerPort()">
        <td><a href="yii-web-request.html#getServerPort()-detail">getServerPort()</a></td>
        <td>Returns the server port number.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getUrl()">
        <td><a href="yii-web-request.html#getUrl()-detail">getUrl()</a></td>
        <td>Returns the currently requested relative URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getUserAgent()">
        <td><a href="yii-web-request.html#getUserAgent()-detail">getUserAgent()</a></td>
        <td>Returns the user agent.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getUserHost()">
        <td><a href="yii-web-request.html#getUserHost()-detail">getUserHost()</a></td>
        <td>Returns the user host name.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="getUserIP()">
        <td><a href="yii-web-request.html#getUserIP()-detail">getUserIP()</a></td>
        <td>Returns the user IP address.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="hasEventHandlers()">
        <td><a href="yii-base-component.html#hasEventHandlers()-detail">hasEventHandlers()</a></td>
        <td>Returns a value indicating whether there is any handler attached to the named event.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="hasMethod()">
        <td><a href="yii-base-object.html#hasMethod()-detail">hasMethod()</a></td>
        <td>Returns a value indicating whether a method is defined.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="hasProperty()">
        <td><a href="yii-base-object.html#hasProperty()-detail">hasProperty()</a></td>
        <td>Returns a value indicating whether a property is defined.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="init()">
        <td><a href="yii-base-object.html#init()-detail">init()</a></td>
        <td>Initializes the object.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
                    <tr class="inherited" id="off()">
        <td><a href="yii-base-component.html#off()-detail">off()</a></td>
        <td>Detaches an existing event handler from this component.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr class="inherited" id="on()">
        <td><a href="yii-base-component.html#on()-detail">on()</a></td>
        <td>Attaches an event handler to an event.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="parseAcceptHeader()">
        <td><a href="yii-web-request.html#parseAcceptHeader()-detail">parseAcceptHeader()</a></td>
        <td>Parses the given <code>Accept</code> (or <code>Accept-Language</code>) header.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="post()">
        <td><a href="yii-web-request.html#post()-detail">post()</a></td>
        <td>Returns POST parameter with a given name. If name isn't specified, returns an array of all POST parameters.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="resolve()">
        <td><a href="yii-web-request.html#resolve()-detail">resolve()</a></td>
        <td>Resolves the current request into a route and the associated parameters.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
                    <tr id="setAcceptableContentTypes()">
        <td><a href="yii-web-request.html#setAcceptableContentTypes()-detail">setAcceptableContentTypes()</a></td>
        <td>Sets the acceptable content types.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setAcceptableLanguages()">
        <td><a href="yii-web-request.html#setAcceptableLanguages()-detail">setAcceptableLanguages()</a></td>
        <td></td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setBaseUrl()">
        <td><a href="yii-web-request.html#setBaseUrl()-detail">setBaseUrl()</a></td>
        <td>Sets the relative URL for the application.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setBodyParams()">
        <td><a href="yii-web-request.html#setBodyParams()-detail">setBodyParams()</a></td>
        <td>Sets the request body parameters.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setHostInfo()">
        <td><a href="yii-web-request.html#setHostInfo()-detail">setHostInfo()</a></td>
        <td>Sets the schema and host part of the application URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="setIsConsoleRequest()">
        <td><a href="yii-base-request.html#setIsConsoleRequest()-detail">setIsConsoleRequest()</a></td>
        <td>Sets the value indicating whether the current request is made via command line</td>
        <td><a href="yii-base-request.html">yii\base\Request</a></td>
    </tr>
            <tr id="setPathInfo()">
        <td><a href="yii-web-request.html#setPathInfo()-detail">setPathInfo()</a></td>
        <td>Sets the path info of the current request.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setPort()">
        <td><a href="yii-web-request.html#setPort()-detail">setPort()</a></td>
        <td>Sets the port to use for insecure requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setQueryParams()">
        <td><a href="yii-web-request.html#setQueryParams()-detail">setQueryParams()</a></td>
        <td>Sets the request <a href="yii-web-request.html#$queryString-detail">$queryString</a> parameters.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setRawBody()">
        <td><a href="yii-web-request.html#setRawBody()-detail">setRawBody()</a></td>
        <td>Sets the raw HTTP request body, this method is mainly used by test scripts to simulate raw HTTP requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setScriptFile()">
        <td><a href="yii-web-request.html#setScriptFile()-detail">setScriptFile()</a></td>
        <td>Sets the entry script file path.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setScriptUrl()">
        <td><a href="yii-web-request.html#setScriptUrl()-detail">setScriptUrl()</a></td>
        <td>Sets the relative URL for the application entry script.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setSecurePort()">
        <td><a href="yii-web-request.html#setSecurePort()-detail">setSecurePort()</a></td>
        <td>Sets the port to use for secure requests.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="setUrl()">
        <td><a href="yii-web-request.html#setUrl()-detail">setUrl()</a></td>
        <td>Sets the currently requested relative URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr class="inherited" id="trigger()">
        <td><a href="yii-base-component.html#trigger()-detail">trigger()</a></td>
        <td>Triggers an event.</td>
        <td><a href="yii-base-component.html">yii\base\Component</a></td>
    </tr>
            <tr id="validateCsrfToken()">
        <td><a href="yii-web-request.html#validateCsrfToken()-detail">validateCsrfToken()</a></td>
        <td>Performs the CSRF validation.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
    </table>
</div>

<div class="summary doc-method">
<h2>Protected Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
                                                            <tr id="createCsrfCookie()">
        <td><a href="yii-web-request.html#createCsrfCookie()-detail">createCsrfCookie()</a></td>
        <td>Creates a cookie with a randomly generated CSRF token.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
                        <tr id="generateCsrfToken()">
        <td><a href="yii-web-request.html#generateCsrfToken()-detail">generateCsrfToken()</a></td>
        <td>Generates  an unmasked random token used to perform CSRF validation.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
                                                                                                                                                                                                                            <tr id="loadCookies()">
        <td><a href="yii-web-request.html#loadCookies()-detail">loadCookies()</a></td>
        <td>Converts <code>$_COOKIE</code> into an array of <a href="yii-web-cookie.html">yii\web\Cookie</a>.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="loadCsrfToken()">
        <td><a href="yii-web-request.html#loadCsrfToken()-detail">loadCsrfToken()</a></td>
        <td>Loads the CSRF token from cookie or session.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
                                <tr id="resolvePathInfo()">
        <td><a href="yii-web-request.html#resolvePathInfo()-detail">resolvePathInfo()</a></td>
        <td>Resolves the path info part of the currently requested URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
            <tr id="resolveRequestUri()">
        <td><a href="yii-web-request.html#resolveRequestUri()-detail">resolveRequestUri()</a></td>
        <td>Resolves the request URI portion for the currently requested URL.</td>
        <td><a href="yii-web-request.html">yii\web\Request</a></td>
    </tr>
                                                                    </table>
</div>

<a id="events"></a>

<a id="constants"></a>
<div class="summary doc-const">
    <h2>Constants</h2>

    <p><a href="#" class="toggle">Hide inherited constants</a></p>

    <table class="summary-table table table-striped table-bordered table-hover">
    <colgroup>
        <col class="col-const" />
        <col class="col-value" />
        <col class="col-description" />
        <col class="col-defined" />
    </colgroup>
    <tr>
        <th>Constant</th><th>Value</th><th>Description</th><th>Defined By</th>
    </tr>
            <tr id="CSRF_HEADER">
          <td id="CSRF_HEADER-detail">CSRF_HEADER</td>
          <td>'X-CSRF-Token'</td>
          <td>The name of the HTTP header for sending CSRF token.
</td>
          <td><a href="yii-web-request.html">yii\web\Request</a></td>
        </tr>
            <tr id="CSRF_MASK_LENGTH">
          <td id="CSRF_MASK_LENGTH-detail">CSRF_MASK_LENGTH</td>
          <td>8</td>
          <td>The length of the CSRF token mask.
</td>
          <td><a href="yii-web-request.html">yii\web\Request</a></td>
        </tr>
        </table>
</div>

<h2>Property Details</h2>

<div class="property-doc">

    <div class="detail-header h3" id="$absoluteUrl-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$absoluteUrl-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $absoluteUrl        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The currently requested absolute URL.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getAbsoluteUrl()-detail">getAbsoluteUrl</a></strong> ( )</div>


    <div class="detail-header h3" id="$acceptableContentTypes-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$acceptableContentTypes-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $acceptableContentTypes        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The content types ordered by the quality score. Types with the highest scores
will be returned first. The array keys are the content types, while the array values
are the corresponding quality score and other parameters as given in the header.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getAcceptableContentTypes()-detail">getAcceptableContentTypes</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setAcceptableContentTypes()-detail">setAcceptableContentTypes</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$acceptableLanguages-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$acceptableLanguages-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $acceptableLanguages        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The languages ordered by the preference level. The first element
represents the most preferred language.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getAcceptableLanguages()-detail">getAcceptableLanguages</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setAcceptableLanguages()-detail">setAcceptableLanguages</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$authPassword-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$authPassword-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $authPassword        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The password sent via HTTP authentication, null if the password is not given</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getAuthPassword()-detail">getAuthPassword</a></strong> ( )</div>


    <div class="detail-header h3" id="$authUser-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$authUser-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $authUser        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The username sent via HTTP authentication, null if the username is not given</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getAuthUser()-detail">getAuthUser</a></strong> ( )</div>


    <div class="detail-header h3" id="$baseUrl-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$baseUrl-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $baseUrl        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The relative URL for the application</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getBaseUrl()-detail">getBaseUrl</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setBaseUrl()-detail">setBaseUrl</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$bodyParams-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$bodyParams-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $bodyParams        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The request parameters given in the request body.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getBodyParams()-detail">getBodyParams</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setBodyParams()-detail">setBodyParams</a></strong> ( <span style="color: #0000BB">$values</span> )</div>


    <div class="detail-header h3" id="$contentType-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$contentType-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $contentType        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Request content-type. Null is returned if this information is not available.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getContentType()-detail">getContentType</a></strong> ( )</div>


    <div class="detail-header h3" id="$cookieValidationKey-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$cookieValidationKey-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L133" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L133" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $cookieValidationKey        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>A secret key used for cookie validation. This property must be set if <a href="yii-web-request.html#$enableCookieValidation-detail">$enableCookieValidation</a> is true.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-web-request.html#$cookieValidationKey-detail">$cookieValidationKey</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$cookies-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$cookies-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $cookies        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The cookie collection.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-cookiecollection.html">yii\web\CookieCollection</a></span> <strong><a href="yii-web-request.html#getCookies()-detail">getCookies</a></strong> ( )</div>


    <div class="detail-header h3" id="$csrfCookie-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$csrfCookie-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L119" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L119" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $csrfCookie        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The configuration for creating the CSRF <a href="yii-web-cookie.html">cookie</a>. This property is used only when
both <a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a> and <a href="yii-web-request.html#$enableCsrfCookie-detail">$enableCsrfCookie</a> are true.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-web-request.html#$csrfCookie-detail">$csrfCookie</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[</span><span style="color: #DD0000">'httpOnly'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">]</span></div>


    <div class="detail-header h3" id="$csrfParam-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$csrfParam-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L114" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L114" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $csrfParam        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The name of the token used to prevent CSRF. Defaults to '_csrf'.
This property is used only when <a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a> is true.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-web-request.html#$csrfParam-detail">$csrfParam</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'_csrf'</span></div>


    <div class="detail-header h3" id="$csrfToken-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$csrfToken-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $csrfToken        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The token used to perform CSRF validation.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getCsrfToken()-detail">getCsrfToken</a></strong> ( <span style="color: #0000BB">$regenerate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span> )</div>


    <div class="detail-header h3" id="$csrfTokenFromHeader-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$csrfTokenFromHeader-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $csrfTokenFromHeader        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The CSRF token sent via <a href="yii-web-request.html#CSRF_HEADER-detail">CSRF_HEADER</a> by browser. Null is returned if no such header is sent.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getCsrfTokenFromHeader()-detail">getCsrfTokenFromHeader</a></strong> ( )</div>


    <div class="detail-header h3" id="$eTags-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$eTags-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $eTags        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The entity tags</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getETags()-detail">getETags</a></strong> ( )</div>


    <div class="detail-header h3" id="$enableCookieValidation-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$enableCookieValidation-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L129" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L129" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $enableCookieValidation        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether cookies should be validated to ensure they are not tampered. Defaults to true.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <a href="yii-web-request.html#$enableCookieValidation-detail">$enableCookieValidation</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span></div>


    <div class="detail-header h3" id="$enableCsrfCookie-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$enableCsrfCookie-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L125" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L125" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $enableCsrfCookie        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether to use cookie to persist CSRF token. If false, CSRF token will be stored
in session under the name of <a href="yii-web-request.html#$csrfParam-detail">$csrfParam</a>. Note that while storing CSRF tokens in session increases
security, it requires starting a session for every page, which will degrade your site performance.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <a href="yii-web-request.html#$enableCsrfCookie-detail">$enableCsrfCookie</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span></div>


    <div class="detail-header h3" id="$enableCsrfValidation-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$enableCsrfValidation-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L109" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L109" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $enableCsrfValidation        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether to enable CSRF (Cross-Site Request Forgery) validation. Defaults to true.
When CSRF validation is enabled, forms submitted to an Yii Web application must be originated
from the same application. If not, a 400 HTTP exception will be raised.</p>
<p>Note, this feature requires that the user client accepts cookie. Also, to use this feature,
forms submitted via POST method must contain a hidden input whose name is specified by <a href="yii-web-request.html#$csrfParam-detail">$csrfParam</a>.
You may use <a href="yii-helpers-basehtml.html#beginForm()-detail">yii\helpers\Html::beginForm()</a> to generate his hidden input.</p>
<p>In JavaScript, you may get the values of <a href="yii-web-request.html#$csrfParam-detail">$csrfParam</a> and <a href="yii-web-request.html#$csrfToken-detail">$csrfToken</a> via <code>yii.getCsrfParam()</code> and
<code>yii.getCsrfToken()</code>, respectively. The <a href="yii-web-yiiasset.html">yii\web\YiiAsset</a> asset must be registered.
You also need to include CSRF meta tags in your pages by using <a href="yii-helpers-basehtml.html#csrfMetaTags()-detail">yii\helpers\Html::csrfMetaTags()</a>.</p>

        <p>See also:</p><ul><li><a href="yii-web-controller.html#$enableCsrfValidation-detail">yii\web\Controller::$enableCsrfValidation</a></li><li><a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery">http://en.wikipedia.org/wiki/Cross-site_request_forgery</a></li></ul>    </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span></div>


    <div class="detail-header h3" id="$headers-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$headers-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $headers        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The header collection</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-headercollection.html">yii\web\HeaderCollection</a></span> <strong><a href="yii-web-request.html#getHeaders()-detail">getHeaders</a></strong> ( )</div>


    <div class="detail-header h3" id="$hostInfo-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$hostInfo-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $hostInfo        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Schema and hostname part (with port number if needed) of the request URL (e.g. <code>http://www.yiiframework.com</code>),
null if can't be obtained from <code>$_SERVER</code> and wasn't set.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getHostInfo()-detail">getHostInfo</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setHostInfo()-detail">setHostInfo</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$isAjax-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isAjax-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isAjax        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is an AJAX (XMLHttpRequest) request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsAjax()-detail">getIsAjax</a></strong> ( )</div>


    <div class="detail-header h3" id="$isDelete-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isDelete-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isDelete        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a DELETE request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsDelete()-detail">getIsDelete</a></strong> ( )</div>


    <div class="detail-header h3" id="$isFlash-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isFlash-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isFlash        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is an Adobe Flash or Adobe Flex request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsFlash()-detail">getIsFlash</a></strong> ( )</div>


    <div class="detail-header h3" id="$isGet-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isGet-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isGet        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a GET request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsGet()-detail">getIsGet</a></strong> ( )</div>


    <div class="detail-header h3" id="$isHead-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isHead-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isHead        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a HEAD request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsHead()-detail">getIsHead</a></strong> ( )</div>


    <div class="detail-header h3" id="$isOptions-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isOptions-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isOptions        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a OPTIONS request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsOptions()-detail">getIsOptions</a></strong> ( )</div>


    <div class="detail-header h3" id="$isPatch-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isPatch-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isPatch        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a PATCH request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPatch()-detail">getIsPatch</a></strong> ( )</div>


    <div class="detail-header h3" id="$isPjax-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isPjax-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isPjax        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a PJAX request</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPjax()-detail">getIsPjax</a></strong> ( )</div>


    <div class="detail-header h3" id="$isPost-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isPost-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isPost        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a POST request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPost()-detail">getIsPost</a></strong> ( )</div>


    <div class="detail-header h3" id="$isPut-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isPut-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isPut        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Whether this is a PUT request.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPut()-detail">getIsPut</a></strong> ( )</div>


    <div class="detail-header h3" id="$isSecureConnection-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$isSecureConnection-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $isSecureConnection        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>If the request is sent via secure channel (https)</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsSecureConnection()-detail">getIsSecureConnection</a></strong> ( )</div>


    <div class="detail-header h3" id="$method-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$method-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $method        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE.
The value returned is turned into upper case.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getMethod()-detail">getMethod</a></strong> ( )</div>


    <div class="detail-header h3" id="$methodParam-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$methodParam-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L140" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L140" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $methodParam        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The name of the POST parameter that is used to indicate if a request is a PUT, PATCH or DELETE
request tunneled through POST. Defaults to '_method'.</p>

        <p>See also:</p><ul><li><a href="yii-web-request.html#getMethod()-detail">getMethod()</a></li><li><a href="yii-web-request.html#getBodyParams()-detail">getBodyParams()</a></li></ul>    </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <a href="yii-web-request.html#$methodParam-detail">$methodParam</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'_method'</span></div>


    <div class="detail-header h3" id="$parsers-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$parsers-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L160" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L160" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $parsers        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The parsers for converting the raw HTTP request body into <a href="yii-web-request.html#$bodyParams-detail">$bodyParams</a>.
The array keys are the request <code>Content-Types</code>, and the array values are the
corresponding configurations for <a href="yii-baseyii.html#createObject()-detail">creating the parser objects</a>.
A parser must implement the <a href="yii-web-requestparserinterface.html">yii\web\RequestParserInterface</a>.</p>
<p>To enable parsing for JSON requests you can use the <a href="yii-web-jsonparser.html">yii\web\JsonParser</a> class like in the following example:</p>
<pre><code class="hljs json">[
    'application/json' =&gt; 'yii\web\JsonParser',
]
</code></pre>
<p>To register a parser for parsing all request types you can use <code>'*'</code> as the array key.
This one will be used as a fallback in case no other types match.</p>

        <p>See also <a href="yii-web-request.html#getBodyParams()-detail">getBodyParams()</a>.</p>    </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-web-request.html#$parsers-detail">$parsers</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[]</span></div>


    <div class="detail-header h3" id="$pathInfo-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$pathInfo-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $pathInfo        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Part of the request URL that is after the entry script and before the question mark.
Note, the returned path info is already URL-decoded.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getPathInfo()-detail">getPathInfo</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setPathInfo()-detail">setPathInfo</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$port-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$port-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $port        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Port number for insecure requests.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a></span> <strong><a href="yii-web-request.html#getPort()-detail">getPort</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setPort()-detail">setPort</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$preferredLanguage-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$preferredLanguage-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $preferredLanguage        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>The language that the application should use.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getPreferredLanguage()-detail">getPreferredLanguage</a></strong> ( <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$languages&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</div>


    <div class="detail-header h3" id="$queryParams-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$queryParams-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $queryParams        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The request GET parameter values.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getQueryParams()-detail">getQueryParams</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setQueryParams()-detail">setQueryParams</a></strong> ( <span style="color: #0000BB">$values</span> )</div>


    <div class="detail-header h3" id="$queryString-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$queryString-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $queryString        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Part of the request URL that is after the question mark</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getQueryString()-detail">getQueryString</a></strong> ( )</div>


    <div class="detail-header h3" id="$rawBody-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$rawBody-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $rawBody        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The request body</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getRawBody()-detail">getRawBody</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setRawBody()-detail">setRawBody</a></strong> ( <span style="color: #0000BB">$rawBody</span> )</div>


    <div class="detail-header h3" id="$referrer-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$referrer-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $referrer        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>URL referrer, null if not available</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getReferrer()-detail">getReferrer</a></strong> ( )</div>


    <div class="detail-header h3" id="$scriptFile-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$scriptFile-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $scriptFile        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The entry script file path</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getScriptFile()-detail">getScriptFile</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setScriptFile()-detail">setScriptFile</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$scriptUrl-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$scriptUrl-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $scriptUrl        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The relative URL of the entry script.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getScriptUrl()-detail">getScriptUrl</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setScriptUrl()-detail">setScriptUrl</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$securePort-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$securePort-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $securePort        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>Port number for secure requests.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a></span> <strong><a href="yii-web-request.html#getSecurePort()-detail">getSecurePort</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setSecurePort()-detail">setSecurePort</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$serverName-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$serverName-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $serverName        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Server name, null if not available</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getServerName()-detail">getServerName</a></strong> ( )</div>


    <div class="detail-header h3" id="$serverPort-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$serverPort-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $serverPort        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Server port number, null if not available</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getServerPort()-detail">getServerPort</a></strong> ( )</div>


    <div class="detail-header h3" id="$url-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$url-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $url        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The currently requested relative URL. Note that the URI returned is URL-encoded.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getUrl()-detail">getUrl</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setUrl()-detail">setUrl</a></strong> ( <span style="color: #0000BB">$value</span> )</div>


    <div class="detail-header h3" id="$userAgent-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$userAgent-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $userAgent        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>User agent, null if not available</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getUserAgent()-detail">getUserAgent</a></strong> ( )</div>


    <div class="detail-header h3" id="$userHost-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$userHost-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $userHost        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>User host name, null if not available</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getUserHost()-detail">getUserHost</a></strong> ( )</div>


    <div class="detail-header h3" id="$userIP-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#$userIP-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $userIP        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>User IP address, null if not available</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getUserIP()-detail">getUserIP</a></strong> ( )</div>

</div>
<h2>Method Details</h2>

<div class="method-doc">

    <div class="detail-header h3" id="createCsrfCookie()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#createCsrfCookie()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1357" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1357" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        createCsrfCookie()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Creates a cookie with a randomly generated CSRF token.</strong></p>

        <p>Initial values specified in <a href="yii-web-request.html#$csrfCookie-detail">$csrfCookie</a> will be applied to the generated cookie.</p>

        <p>See also <a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type"><a href="yii-web-cookie.html">yii\web\Cookie</a></span> <strong><a href="yii-web-request.html#createCsrfCookie()-detail">createCsrfCookie</a></strong> ( <span style="color: #0000BB">$token</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$token</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The CSRF token</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-cookie.html">yii\web\Cookie</a></td>
                  <td class="param-desc-col"><p>The generated cookie</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="generateCsrfToken()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#generateCsrfToken()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1309" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1309" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        generateCsrfToken()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates  an unmasked random token used to perform CSRF validation.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#generateCsrfToken()-detail">generateCsrfToken</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The random token for CSRF validation.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="get()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#get()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L497" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L497" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        get()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns GET parameter with a given name. If name isn't specified, returns an array of all GET parameters.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a>|mixed</span> <strong><a href="yii-web-request.html#get()-detail">get</a></strong> ( <span style="color: #0000BB">$name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$defaultValue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The parameter name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$defaultValue</span></td>
                  <td class="param-type-col">mixed</td>
                  <td class="param-desc-col"><p>The default parameter value if the parameter does not exist.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="getAbsoluteUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getAbsoluteUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L751" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L751" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAbsoluteUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the currently requested absolute URL.</strong></p>

        <p>This is a shortcut to the concatenation of <a href="yii-web-request.html#$hostInfo-detail">$hostInfo</a> and <a href="yii-web-request.html#$url-detail">$url</a>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getAbsoluteUrl()-detail">getAbsoluteUrl</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The currently requested absolute URL.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getAcceptableContentTypes()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getAcceptableContentTypes()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L989" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L989" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAcceptableContentTypes()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the content types acceptable by the end user.</strong></p>

        <p>This is determined by the <code>Accept</code> HTTP header. For example,</p>
<pre><code class="hljs php language-php"><span class="hljs-variable">$_SERVER</span>[<span class="hljs-string">'HTTP_ACCEPT'</span>] = <span class="hljs-string">'text/plain; q=0.5, application/json; version=1.0, application/xml; version=2.0;'</span>;
<span class="hljs-variable">$types</span> = <span class="hljs-variable">$request</span>-&gt;getAcceptableContentTypes();
print_r(<span class="hljs-variable">$types</span>);
<span class="hljs-comment">// displays:</span>
<span class="hljs-comment">// [</span>
<span class="hljs-comment">//     'application/json' =&gt; ['q' =&gt; 1, 'version' =&gt; '1.0'],</span>
<span class="hljs-comment">//      'application/xml' =&gt; ['q' =&gt; 1, 'version' =&gt; '2.0'],</span>
<span class="hljs-comment">//           'text/plain' =&gt; ['q' =&gt; 0.5],</span>
<span class="hljs-comment">// ]</span>
</code></pre>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getAcceptableContentTypes()-detail">getAcceptableContentTypes</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The content types ordered by the quality score. Types with the highest scores
will be returned first. The array keys are the content types, while the array values
are the corresponding quality score and other parameters as given in the header.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getAcceptableLanguages()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getAcceptableLanguages()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1045" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1045" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAcceptableLanguages()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the languages acceptable by the end user.</strong></p>

        <p>This is determined by the <code>Accept-Language</code> HTTP header.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getAcceptableLanguages()-detail">getAcceptableLanguages</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The languages ordered by the preference level. The first element
represents the most preferred language.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getAuthPassword()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getAuthPassword()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L898" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L898" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAuthPassword()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getAuthPassword()-detail">getAuthPassword</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>The password sent via HTTP authentication, null if the password is not given</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getAuthUser()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getAuthUser()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L890" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L890" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAuthUser()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getAuthUser()-detail">getAuthUser</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>The username sent via HTTP authentication, null if the username is not given</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getBaseUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getBaseUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L571" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L571" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getBaseUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the relative URL for the application.</strong></p>

        <p>This is similar to <a href="yii-web-request.html#$scriptUrl-detail">$scriptUrl</a> except that it does not include the script file name,
and the ending slashes are removed.</p>

        <p>See also <a href="yii-web-request.html#setScriptUrl()-detail">setScriptUrl()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getBaseUrl()-detail">getBaseUrl</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The relative URL for the application</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getBodyParam()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getBodyParam()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L438" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L438" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getBodyParam()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the named request body parameter value.</strong></p>

        <p>If the parameter does not exist, the second parameter passed to this method will be returned.</p>

        <p>See also:</p><ul><li><a href="yii-web-request.html#getBodyParams()-detail">getBodyParams()</a></li><li><a href="yii-web-request.html#setBodyParams()-detail">setBodyParams()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">mixed</span> <strong><a href="yii-web-request.html#getBodyParam()-detail">getBodyParam</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$defaultValue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The parameter name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$defaultValue</span></td>
                  <td class="param-type-col">mixed</td>
                  <td class="param-desc-col"><p>The default parameter value if the parameter does not exist.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col">mixed</td>
                  <td class="param-desc-col"><p>The parameter value</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getBodyParams()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getBodyParams()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L379" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L379" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getBodyParams()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the request parameters given in the request body.</strong></p>

        <p>Request parameters are determined using the parsers configured in <a href="yii-web-request.html#$parsers-detail">$parsers</a> property.
If no parsers are configured for the current <a href="yii-web-request.html#$contentType-detail">$contentType</a> it uses the PHP function <code>mb_parse_str()</code>
to parse the <a href="yii-web-request.html#$rawBody-detail">request body</a>.</p>

        <p>See also:</p><ul><li><a href="yii-web-request.html#getMethod()-detail">getMethod()</a></li><li><a href="yii-web-request.html#getBodyParam()-detail">getBodyParam()</a></li><li><a href="yii-web-request.html#setBodyParams()-detail">setBodyParams()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getBodyParams()-detail">getBodyParams</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The request parameters given in the request body.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if a registered parser does not implement the <a href="yii-web-requestparserinterface.html">yii\web\RequestParserInterface</a>.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getContentType()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getContentType()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1025" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1025" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getContentType()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns request content-type
The Content-Type header field indicates the MIME type of the data
contained in <a href="yii-web-request.html#getRawBody()-detail">getRawBody()</a> or, in the case of the HEAD method, the
media type that would have been sent had the request been a GET.</strong></p>

        <p>For the MIME-types the user expects in response, see <a href="yii-web-request.html#$acceptableContentTypes-detail">$acceptableContentTypes</a>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getContentType()-detail">getContentType</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Request content-type. Null is returned if this information is not available.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getCookies()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getCookies()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1211" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1211" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getCookies()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the cookie collection.</strong></p>

        <p>Through the returned cookie collection, you may access a cookie using the following syntax:</p>
<pre><code class="hljs php language-php"><span class="hljs-variable">$cookie</span> = <span class="hljs-variable">$request</span>-&gt;cookies[<span class="hljs-string">'name'</span>]
<span class="hljs-keyword">if</span> (<span class="hljs-variable">$cookie</span> !== <span class="hljs-keyword">null</span>) {
    <span class="hljs-variable">$value</span> = <span class="hljs-variable">$cookie</span>-&gt;value;
}

<span class="hljs-comment">// alternatively</span>
<span class="hljs-variable">$value</span> = <span class="hljs-variable">$request</span>-&gt;cookies-&gt;getValue(<span class="hljs-string">'name'</span>);
</code></pre>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-cookiecollection.html">yii\web\CookieCollection</a></span> <strong><a href="yii-web-request.html#getCookies()-detail">getCookies</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-cookiecollection.html">yii\web\CookieCollection</a></td>
                  <td class="param-desc-col"><p>The cookie collection.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getCsrfToken()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getCsrfToken()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1275" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1275" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getCsrfToken()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the token used to perform CSRF validation.</strong></p>

        <p>This token is generated in a way to prevent <a href="http://breachattack.com/">BREACH attacks</a>. It may be passed
along via a hidden field of an HTML form or an HTTP header value to support CSRF validation.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getCsrfToken()-detail">getCsrfToken</a></strong> ( <span style="color: #0000BB">$regenerate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$regenerate</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether to regenerate CSRF token. When this parameter is true, each time
this method is called, a new CSRF token will be generated and persisted (in session or cookie).</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The token used to perform CSRF validation.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getCsrfTokenFromHeader()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getCsrfTokenFromHeader()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1344" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1344" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getCsrfTokenFromHeader()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getCsrfTokenFromHeader()-detail">getCsrfTokenFromHeader</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The CSRF token sent via <a href="yii-web-request.html#CSRF_HEADER-detail">CSRF_HEADER</a> by browser. Null is returned if no such header is sent.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getETags()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getETags()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1186" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1186" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getETags()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Gets the Etags.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getETags()-detail">getETags</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The entity tags</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getHeaders()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getHeaders()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L198" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L198" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getHeaders()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the header collection.</strong></p>

        <p>The header collection contains incoming HTTP headers.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-web-headercollection.html">yii\web\HeaderCollection</a></span> <strong><a href="yii-web-request.html#getHeaders()-detail">getHeaders</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-web-headercollection.html">yii\web\HeaderCollection</a></td>
                  <td class="param-desc-col"><p>The header collection</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getHostInfo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getHostInfo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L532" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L532" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getHostInfo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the schema and host part of the current request URL.</strong></p>

        <p>The returned URL does not have an ending slash.
By default this is determined based on the user request information.
You may explicitly specify it by setting the <a href="yii-web-request.html#setHostInfo()-detail">hostInfo</a> property.</p>

        <p>See also <a href="yii-web-request.html#setHostInfo()-detail">setHostInfo()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getHostInfo()-detail">getHostInfo</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Schema and hostname part (with port number if needed) of the request URL (e.g. <code>http://www.yiiframework.com</code>),
null if can't be obtained from <code>$_SERVER</code> and wasn't set.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsAjax()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsAjax()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L317" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L317" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsAjax()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is an AJAX (XMLHttpRequest) request.</strong></p>

        <p>Note that jQuery doesn't set the header in case of cross domain
requests: <a href="https://stackoverflow.com/questions/8163703/cross-domain-ajax-doesnt-send-x-requested-with-header">https://stackoverflow.com/questions/8163703/cross-domain-ajax-doesnt-send-x-requested-with-header</a></p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsAjax()-detail">getIsAjax</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is an AJAX (XMLHttpRequest) request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsDelete()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsDelete()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L286" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L286" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsDelete()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a DELETE request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsDelete()-detail">getIsDelete</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a DELETE request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsFlash()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsFlash()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L335" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L335" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsFlash()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is an Adobe Flash or Flex request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsFlash()-detail">getIsFlash</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is an Adobe Flash or Adobe Flex request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsGet()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsGet()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L250" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L250" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsGet()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a GET request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsGet()-detail">getIsGet</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a GET request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsHead()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsHead()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L268" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L268" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsHead()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a HEAD request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsHead()-detail">getIsHead</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a HEAD request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsOptions()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsOptions()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L259" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L259" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsOptions()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is an OPTIONS request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsOptions()-detail">getIsOptions</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a OPTIONS request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsPatch()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsPatch()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L304" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L304" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsPatch()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a PATCH request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPatch()-detail">getIsPatch</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a PATCH request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsPjax()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsPjax()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L326" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L326" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsPjax()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a PJAX request</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPjax()-detail">getIsPjax</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a PJAX request</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsPost()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsPost()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L277" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L277" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsPost()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a POST request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPost()-detail">getIsPost</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a POST request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsPut()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsPut()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L295" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L295" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsPut()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns whether this is a PUT request.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsPut()-detail">getIsPut</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether this is a PUT request.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getIsSecureConnection()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getIsSecureConnection()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L827" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L827" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getIsSecureConnection()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Return if the request is sent via secure channel (https).</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#getIsSecureConnection()-detail">getIsSecureConnection</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>If the request is sent via secure channel (https)</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getMethod()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getMethod()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L229" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L229" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getMethod()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the method of the current request (e.g. GET, POST, HEAD, PUT, PATCH, DELETE).</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getMethod()-detail">getMethod</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE.
The value returned is turned into upper case.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getPathInfo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getPathInfo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L674" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L674" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getPathInfo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the path info of the currently requested URL.</strong></p>

        <p>A path info refers to the part that is after the entry script and before the question mark (query string).
The starting and ending slashes are both removed.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getPathInfo()-detail">getPathInfo</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Part of the request URL that is after the entry script and before the question mark.
Note, the returned path info is already URL-decoded.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if the path info cannot be determined due to unexpected server configuration</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getPort()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getPort()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L912" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L912" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getPort()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the port to use for insecure requests.</strong></p>

        <p>Defaults to 80, or the port specified by the server if the current
request is insecure.</p>

        <p>See also <a href="yii-web-request.html#setPort()-detail">setPort()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a></span> <strong><a href="yii-web-request.html#getPort()-detail">getPort</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a></td>
                  <td class="param-desc-col"><p>Port number for insecure requests.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getPreferredLanguage()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getPreferredLanguage()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1159" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1159" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getPreferredLanguage()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the user-preferred language that should be used by this application.</strong></p>

        <p>The language resolution is based on the user preferred languages and the languages
supported by the application. The method will try to find the best match.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getPreferredLanguage()-detail">getPreferredLanguage</a></strong> ( <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$languages&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$languages</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>A list of the languages supported by the application. If this is empty, the current
application language will be returned without further processing.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The language that the application should use.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getQueryParam()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getQueryParam()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L514" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L514" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getQueryParam()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the named GET parameter value.</strong></p>

        <p>If the GET parameter does not exist, the second parameter passed to this method will be returned.</p>

        <p>See also <a href="yii-web-request.html#getBodyParam()-detail">getBodyParam()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">mixed</span> <strong><a href="yii-web-request.html#getQueryParam()-detail">getQueryParam</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$defaultValue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The GET parameter name.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$defaultValue</span></td>
                  <td class="param-type-col">mixed</td>
                  <td class="param-desc-col"><p>The default parameter value if the GET parameter does not exist.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col">mixed</td>
                  <td class="param-desc-col"><p>The GET parameter value</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getQueryParams()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getQueryParams()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L470" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L470" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getQueryParams()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the request parameters given in the <a href="yii-web-request.html#$queryString-detail">$queryString</a>.</strong></p>

        <p>This method will return the contents of <code>$_GET</code> if params where not explicitly set.</p>

        <p>See also <a href="yii-web-request.html#setQueryParams()-detail">setQueryParams()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#getQueryParams()-detail">getQueryParams</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The request GET parameter values.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getQueryString()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getQueryString()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L818" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L818" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getQueryString()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns part of the request URL that is after the question mark.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getQueryString()-detail">getQueryString</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Part of the request URL that is after the question mark</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getRawBody()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getRawBody()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L347" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L347" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getRawBody()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the raw HTTP request body.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getRawBody()-detail">getRawBody</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The request body</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getReferrer()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getReferrer()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L855" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L855" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getReferrer()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the URL referrer.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getReferrer()-detail">getReferrer</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>URL referrer, null if not available</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getScriptFile()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getScriptFile()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L641" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L641" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getScriptFile()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the entry script file path.</strong></p>

        <p>The default implementation will simply return <code>$_SERVER['SCRIPT_FILENAME']</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getScriptFile()-detail">getScriptFile</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The entry script file path</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"></td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getScriptUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getScriptUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L599" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L599" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getScriptUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the relative URL of the entry script.</strong></p>

        <p>The implementation of this method referenced Zend_Controller_Request_Http in Zend Framework.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getScriptUrl()-detail">getScriptUrl</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The relative URL of the entry script.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if unable to determine the entry script URL</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getSecurePort()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getSecurePort()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L944" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L944" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getSecurePort()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the port to use for secure requests.</strong></p>

        <p>Defaults to 443, or the port specified by the server if the current
request is secure.</p>

        <p>See also <a href="yii-web-request.html#setSecurePort()-detail">setSecurePort()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a></span> <strong><a href="yii-web-request.html#getSecurePort()-detail">getSecurePort</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a></td>
                  <td class="param-desc-col"><p>Port number for secure requests.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getServerName()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getServerName()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L837" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L837" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getServerName()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the server name.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getServerName()-detail">getServerName</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Server name, null if not available</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getServerPort()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getServerPort()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L846" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L846" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getServerPort()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the server port number.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.integer">integer</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getServerPort()-detail">getServerPort</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>Server port number, null if not available</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L765" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L765" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the currently requested relative URL.</strong></p>

        <p>This refers to the portion of the URL that is after the <a href="yii-web-request.html#$hostInfo-detail">$hostInfo</a> part.
It includes the <a href="yii-web-request.html#$queryString-detail">$queryString</a> part if any.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#getUrl()-detail">getUrl</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The currently requested relative URL. Note that the URI returned is URL-encoded.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if the URL cannot be determined due to unusual server configuration</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getUserAgent()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getUserAgent()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L864" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L864" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getUserAgent()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the user agent.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getUserAgent()-detail">getUserAgent</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>User agent, null if not available</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getUserHost()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getUserHost()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L882" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L882" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getUserHost()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the user host name.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getUserHost()-detail">getUserHost</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>User host name, null if not available</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getUserIP()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#getUserIP()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L873" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L873" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getUserIP()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the user IP address.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></span> <strong><a href="yii-web-request.html#getUserIP()-detail">getUserIP</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>User IP address, null if not available</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="loadCookies()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#loadCookies()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1227" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1227" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        loadCookies()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Converts <code>$_COOKIE</code> into an array of <a href="yii-web-cookie.html">yii\web\Cookie</a>.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#loadCookies()-detail">loadCookies</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The cookies obtained from request</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if <a href="yii-web-request.html#$cookieValidationKey-detail">$cookieValidationKey</a> is not set when <a href="yii-web-request.html#$enableCookieValidation-detail">$enableCookieValidation</a> is true</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="loadCsrfToken()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#loadCsrfToken()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1296" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1296" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        loadCsrfToken()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Loads the CSRF token from cookie or session.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#loadCsrfToken()-detail">loadCsrfToken</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The CSRF token loaded from cookie or session. Null is returned if the cookie or session
does not have CSRF token.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="parseAcceptHeader()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#parseAcceptHeader()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1091" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1091" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        parseAcceptHeader()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Parses the given <code>Accept</code> (or <code>Accept-Language</code>) header.</strong></p>

        <p>This method will return the acceptable values with their quality scores and the corresponding parameters
as specified in the given <code>Accept</code> header. The array keys of the return value are the acceptable values,
while the array values consisting of the corresponding quality scores and parameters. The acceptable
values with the highest quality scores will be returned first. For example,</p>
<pre><code class="hljs php language-php"><span class="hljs-variable">$header</span> = <span class="hljs-string">'text/plain; q=0.5, application/json; version=1.0, application/xml; version=2.0;'</span>;
<span class="hljs-variable">$accepts</span> = <span class="hljs-variable">$request</span>-&gt;parseAcceptHeader(<span class="hljs-variable">$header</span>);
print_r(<span class="hljs-variable">$accepts</span>);
<span class="hljs-comment">// displays:</span>
<span class="hljs-comment">// [</span>
<span class="hljs-comment">//     'application/json' =&gt; ['q' =&gt; 1, 'version' =&gt; '1.0'],</span>
<span class="hljs-comment">//      'application/xml' =&gt; ['q' =&gt; 1, 'version' =&gt; '2.0'],</span>
<span class="hljs-comment">//           'text/plain' =&gt; ['q' =&gt; 0.5],</span>
<span class="hljs-comment">// ]</span>
</code></pre>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#parseAcceptHeader()-detail">parseAcceptHeader</a></strong> ( <span style="color: #0000BB">$header</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$header</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The header to be parsed</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The acceptable values ordered by their quality score. The values with the highest scores
will be returned first.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="post()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#post()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L452" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L452" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        post()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns POST parameter with a given name. If name isn't specified, returns an array of all POST parameters.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a>|mixed</span> <strong><a href="yii-web-request.html#post()-detail">post</a></strong> ( <span style="color: #0000BB">$name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$defaultValue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The parameter name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$defaultValue</span></td>
                  <td class="param-type-col">mixed</td>
                  <td class="param-desc-col"><p>The default parameter value if the parameter does not exist.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="resolve()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#resolve()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L177" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L177" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        resolve()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Resolves the current request into a route and the associated parameters.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-web-request.html#resolve()-detail">resolve</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The first element is the route, and the second is the associated parameters.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-web-notfoundhttpexception.html">yii\web\NotFoundHttpException</a></td>
                  <td class="param-desc-col"><p>if the request cannot be resolved.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="resolvePathInfo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#resolvePathInfo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L701" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L701" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        resolvePathInfo()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Resolves the path info part of the currently requested URL.</strong></p>

        <p>A path info refers to the part that is after the entry script and before the question mark (query string).
The starting slashes are both removed (ending slashes will be kept).</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-web-request.html#resolvePathInfo()-detail">resolvePathInfo</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Part of the request URL that is after the entry script and before the question mark.
Note, the returned path info is decoded.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if the path info cannot be determined due to unexpected server configuration</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="resolveRequestUri()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#resolveRequestUri()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L793" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L793" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        resolveRequestUri()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Resolves the request URI portion for the currently requested URL.</strong></p>

        <p>This refers to the portion that is after the <a href="yii-web-request.html#$hostInfo-detail">$hostInfo</a> part. It includes the <a href="yii-web-request.html#$queryString-detail">$queryString</a> part if any.
The implementation of this method referenced Zend_Controller_Request_Http in Zend Framework.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#resolveRequestUri()-detail">resolveRequestUri</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>The request URI portion for the currently requested URL.
Note that the URI returned is URL-encoded.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>if the request URI cannot be determined due to unusual server configuration</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="setAcceptableContentTypes()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setAcceptableContentTypes()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1010" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1010" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setAcceptableContentTypes()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the acceptable content types.</strong></p>

        <p>Please refer to <a href="yii-web-request.html#getAcceptableContentTypes()-detail">getAcceptableContentTypes()</a> on the format of the parameter.</p>

        <p>See also:</p><ul><li><a href="yii-web-request.html#getAcceptableContentTypes()-detail">getAcceptableContentTypes()</a></li><li><a href="yii-web-request.html#parseAcceptHeader()-detail">parseAcceptHeader()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setAcceptableContentTypes()-detail">setAcceptableContentTypes</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The content types that are acceptable by the end user. They should
be ordered by the preference level.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setAcceptableLanguages()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setAcceptableLanguages()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1062" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1062" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setAcceptableLanguages()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setAcceptableLanguages()-detail">setAcceptableLanguages</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The languages that are acceptable by the end user. They should
be ordered by the preference level.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setBaseUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setBaseUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L586" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L586" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setBaseUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the relative URL for the application.</strong></p>

        <p>By default the URL is determined based on the entry script URL.
This setter is provided in case you want to change this behavior.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setBaseUrl()-detail">setBaseUrl</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The relative URL for the application</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setBodyParams()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setBodyParams()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L424" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L424" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setBodyParams()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the request body parameters.</strong></p>

        
        <p>See also:</p><ul><li><a href="yii-web-request.html#getBodyParam()-detail">getBodyParam()</a></li><li><a href="yii-web-request.html#getBodyParams()-detail">getBodyParams()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setBodyParams()-detail">setBodyParams</a></strong> ( <span style="color: #0000BB">$values</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$values</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The request body parameters (name-value pairs)</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setHostInfo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setHostInfo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L557" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L557" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setHostInfo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the schema and host part of the application URL.</strong></p>

        <p>This setter is provided in case the schema and hostname cannot be determined
on certain Web servers.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setHostInfo()-detail">setHostInfo</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The schema and host part of the application URL. The trailing slashes will be removed.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setPathInfo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setPathInfo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L688" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L688" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setPathInfo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the path info of the current request.</strong></p>

        <p>This method is mainly provided for testing purpose.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setPathInfo()-detail">setPathInfo</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The path info of the current request</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setPort()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setPort()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L927" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L927" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setPort()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the port to use for insecure requests.</strong></p>

        <p>This setter is provided in case a custom port is necessary for certain
server configurations.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setPort()-detail">setPort</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a></td>
                  <td class="param-desc-col"><p>Port number.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setQueryParams()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setQueryParams()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L485" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L485" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setQueryParams()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the request <a href="yii-web-request.html#$queryString-detail">$queryString</a> parameters.</strong></p>

        
        <p>See also:</p><ul><li><a href="yii-web-request.html#getQueryParam()-detail">getQueryParam()</a></li><li><a href="yii-web-request.html#getQueryParams()-detail">getQueryParams()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setQueryParams()-detail">setQueryParams</a></strong> ( <span style="color: #0000BB">$values</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$values</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The request query parameters (name-value pairs)</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setRawBody()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setRawBody()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L360" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L360" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setRawBody()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the raw HTTP request body, this method is mainly used by test scripts to simulate raw HTTP requests.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setRawBody()-detail">setRawBody</a></strong> ( <span style="color: #0000BB">$rawBody</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$rawBody</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The request body</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setScriptFile()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setScriptFile()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L659" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L659" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setScriptFile()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the entry script file path.</strong></p>

        <p>The entry script file path normally can be obtained from <code>$_SERVER['SCRIPT_FILENAME']</code>.
If your server configuration does not return the correct value, you may configure
this property to make it right.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setScriptFile()-detail">setScriptFile</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The entry script file path.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setScriptUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setScriptUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L628" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L628" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setScriptUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the relative URL for the application entry script.</strong></p>

        <p>This setter is provided in case the entry script URL cannot be determined
on certain Web servers.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setScriptUrl()-detail">setScriptUrl</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The relative URL for the application entry script.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setSecurePort()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setSecurePort()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L959" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L959" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setSecurePort()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the port to use for secure requests.</strong></p>

        <p>This setter is provided in case a custom port is necessary for certain
server configurations.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setSecurePort()-detail">setSecurePort</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.integer">integer</a></td>
                  <td class="param-desc-col"><p>Port number.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setUrl()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#setUrl()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L780" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L780" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setUrl()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the currently requested relative URL.</strong></p>

        <p>The URI must refer to the portion that is after <a href="yii-web-request.html#$hostInfo-detail">$hostInfo</a>.
Note that the URI should be URL-encoded.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-web-request.html#setUrl()-detail">setUrl</a></strong> ( <span style="color: #0000BB">$value</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The request URI to be set</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="validateCsrfToken()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-web-request.html#validateCsrfToken()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/web/Request.php#L1379" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/web/Request.php#L1379" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        validateCsrfToken()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Performs the CSRF validation.</strong></p>

        <p>This method will validate the user-provided CSRF token by comparing it with the one stored in cookie or session.
This method is mainly called in <a href="yii-web-controller.html#beforeAction()-detail">yii\web\Controller::beforeAction()</a>.</p>
<p>Note that the method will NOT perform CSRF validation if <a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a> is false or the HTTP method
is among GET, HEAD or OPTIONS.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.boolean">boolean</a></span> <strong><a href="yii-web-request.html#validateCsrfToken()-detail">validateCsrfToken</a></strong> ( <span style="color: #0000BB">$token&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$token</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The user-provided CSRF token to be validated. If null, the token will be retrieved from
the <a href="yii-web-request.html#$csrfParam-detail">$csrfParam</a> POST field or HTTP header.
This parameter is available since version 2.0.4.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether CSRF token is valid. If <a href="yii-web-request.html#$enableCsrfValidation-detail">$enableCsrfValidation</a> is false, this method will return true.</p>
</td>
                </tr>
                                    </table>

<!--	-->
</div>
        </div>
</div>

<script type="text/javascript">
    /*<![CDATA[*/
    $("a.toggle").on('click', function () {
        var $this = $(this);
        if ($this.hasClass('properties-hidden')) {
            $this.text($this.text().replace(/Show/,'Hide'));
            $this.parents(".summary").find(".inherited").show();
            $this.removeClass('properties-hidden');
        } else {
            $this.text($this.text().replace(/Hide/,'Show'));
            $this.parents(".summary").find(".inherited").hide();
            $this.addClass('properties-hidden');
        }

        return false;
    });
    /*
     $(".sourceCode a.show").toggle(function () {
     $(this).text($(this).text().replace(/show/,'hide'));
     $(this).parents(".sourceCode").find("div.code").show();
     },function () {
     $(this).text($(this).text().replace(/hide/,'show'));
     $(this).parents(".sourceCode").find("div.code").hide();
     });
     $("a.sourceLink").click(function () {
     $(this).attr('target','_blank');
     });
     */
    /*]]>*/
</script>


</div>

<footer class="footer">
        <p class="pull-right"><small>Page generated on Sat, 09 Jul 2016 12:15:42 +0000</small></p>
    Powered by <a href="http://www.yiiframework.com/" rel="external">Yii Framework</a></footer>

<script type="text/javascript">jQuery(document).ready(function () {
    var shiftWindow = function () { scrollBy(0, -50) };
    if (location.hash) setTimeout(shiftWindow, 1);
    window.addEventListener("hashchange", shiftWindow);
var element = document.createElement("script");
element.src = "./jssearch.index.js";
document.body.appendChild(element);

var searchBox = $('#searchbox');

// search when typing in search field
searchBox.on("keyup", function(event) {
    var query = $(this).val();

    if (query == '' || event.which == 27) {
        $('#search-resultbox').hide();
        return;
    } else if (event.which == 13) {
        var selectedLink = $('#search-resultbox a.selected');
        if (selectedLink.length != 0) {
            document.location = selectedLink.attr('href');
            return;
        }
    } else if (event.which == 38 || event.which == 40) {
        $('#search-resultbox').show();

        var selected = $('#search-resultbox a.selected');
        if (selected.length == 0) {
            $('#search-results').find('a').first().addClass('selected');
        } else {
            var next;
            if (event.which == 40) {
                next = selected.parent().next().find('a').first();
            } else {
                next = selected.parent().prev().find('a').first();
            }
            if (next.length != 0) {
                var resultbox = $('#search-results');
                var position = next.position();

//              TODO scrolling is buggy and jumps around
//                resultbox.scrollTop(Math.floor(position.top));
//                console.log(position.top);

                selected.removeClass('selected');
                next.addClass('selected');
            }
        }

        return;
    }
    $('#search-resultbox').show();
    $('#search-results').html('<li><span class="no-results">No results</span></li>');

    var result = jssearch.search(query);

    if (result.length > 0) {
        var i = 0;
        var resHtml = '';

        for (var key in result) {
            if (i++ > 20) {
                break;
            }
            resHtml = resHtml +
            '<li><a href="' + result[key].file.u.substr(3) +'"><span class="title">' + result[key].file.t + '</span>' +
            '<span class="description">' + result[key].file.d + '</span></a></li>';
        }
        $('#search-results').html(resHtml);
    }
});

// hide the search results on ESC
$(document).on("keyup", function(event) { if (event.which == 27) { $('#search-resultbox').hide(); } });
// hide search results on click to document
$(document).bind('click', function (e) { $('#search-resultbox').hide(); });
// except the following:
searchBox.bind('click', function(e) { e.stopPropagation(); });
$('#search-resultbox').bind('click', function(e) { e.stopPropagation(); });

});</script></body>
</html>
